commit | 075f6fbcb4d858c09e9b138f8dc10d8d3d43d935 | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Thu Jul 26 20:04:16 2012 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Thu Jul 26 20:04:16 2012 +0000 |
tree | 34f0ca0623f79900bbdf4dd6a5901d0490d92695 | |
parent | 888c90ac0ef6baf7d47e86cf5cc4715707d223b1 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160807 91177308-0d34-0410-b5e6-96231b3b80d8