]> granicus.if.org Git - clang/commit
[analyzer] Update initializer assertion for delegating constructors.
authorJordan Rose <jordan_rose@apple.com>
Fri, 3 Aug 2012 23:31:15 +0000 (23:31 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 3 Aug 2012 23:31:15 +0000 (23:31 +0000)
commit563ea2335d7d0df44bbfe8941f64523e8af1fc14
tree57b988f641b3a5db15d84e2ad59ccb0321357d5d
parent685379965c1b105ce89cf4f6c60810932b7f4d0d
[analyzer] Update initializer assertion for delegating constructors.

Like base constructors, delegating constructors require no further
processing in the CFGInitializer node.

Also, add PrettyStackTraceLoc to the initializer and destructor logic
so we can get better stack traces in the future.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161283 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
test/Analysis/initializer.cpp