]> granicus.if.org Git - clang/commit
In preparation for fixing PR 6884, rework CFGElement to have getAs<> return pointers...
authorTed Kremenek <kremenek@apple.com>
Tue, 1 Mar 2011 03:15:10 +0000 (03:15 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 1 Mar 2011 03:15:10 +0000 (03:15 +0000)
commit3c0349e87cdbd7316d06d2411d86ee1086e717a5
tree28a22c451341fce2bab08cf01d8bbfe75bbfe64e
parent239cbb023c8da689e7722f7146914eed9755e368
In preparation for fixing PR 6884, rework CFGElement to have getAs<> return pointers instead of fresh CFGElements.

- Also, consoldiate getDtorKind() and getKind() into one "kind".
- Add empty getDestructorDecl() method to CFGImplicitDtor.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126738 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/CFG.h
include/clang/Analysis/FlowSensitive/DataflowSolver.h
include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
lib/Analysis/CFG.cpp
lib/Analysis/CFGStmtMap.cpp
lib/Analysis/ReachableCode.cpp
lib/Analysis/UninitializedValuesV2.cpp
lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
lib/StaticAnalyzer/Core/BugReporter.cpp
lib/StaticAnalyzer/Core/ExprEngine.cpp