HomePhabricator

[analyzer] Use the CFG to see if a constructor is for a local variable.

Authored by jordan_rose on Jul 26 2012, 1:04 PM.

Description

[analyzer] Use the CFG to see if a constructor is for a local variable.

Previously we were using ParentMap and crawling through the parent DeclStmt.
This should be at least slightly cheaper (and is also more flexible).

No (intended) functionality change.

llvm-svn: 160807

Details

Committed
jordan_roseJul 26 2012, 1:04 PM
Parents
rGb970505d0d33: [analyzer] Handle base class initializers and destructors.
Branches
Unknown
Tags
Unknown