HomePhabricator

MismatchingNewDeleteDetector uses incorrect field, and finds no initializer
AuditedrL251335

Description

MismatchingNewDeleteDetector uses incorrect field, and finds no initializer

Summary:
In MismatchingNewDeleteDetector::analyzeInClassInitializer, if
Field's initializer expression is null, lookup the field in
implicit instantiation, and use found field's the initializer.

Reviewers: rsmith, rtrieu

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D9898

Details

Auditors
tstellarAMD
cfe-commits
rsmith
Group Auditors
Restricted Project
Committed
ismailpOct 26 2015, 12:20 PM
Differential Revision
D9898: MismatchingNewDeleteDetector uses incorrect field, and finds no initializer
Parents
rL251334: Fix test suite configuration. Sorry Marshall
Branches
Unknown
Tags
Unknown

Event Timeline

tstellarAMD added a subscriber: tstellarAMD.

Hi Richard,

Is this OK to merge to the 3.7 branch?

rsmith accepted this commit.Nov 4 2015, 11:02 AM
tstellarAMD added a project: Restricted Project.Nov 13 2015, 6:15 PM