aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/CFGStmtMap.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-05-20[C++11] Use 'nullptr'. Analysis edition.Craig Topper1-3/+3
llvm-svn: 209191
2013-02-23Remove the CFGElement "Invalid" state.David Blaikie1-2/+2
Use Optional<CFG*> where invalid states were needed previously. In the one case where that's not possible (beginAutomaticObjDtorsInsert) just use a dummy CFGAutomaticObjDtor. Thanks for the help from Jordan Rose & discussion/feedback from Ted Kremenek and Doug Gregor. Post commit code review feedback on r175796 by Ted Kremenek. llvm-svn: 175938
2013-02-21Replace CFGElement llvm::cast support to be well-defined.David Blaikie1-2/+2
See r175462 for another example/more details. llvm-svn: 175796
2011-08-23Constify the result of CFGStmt::getStmt().Ted Kremenek1-1/+1
llvm-svn: 138408
2011-03-01In preparation for fixing PR 6884, rework CFGElement to have getAs<> return ↵Ted Kremenek1-3/+3
pointers instead of fresh CFGElements. - Also, consoldiate getDtorKind() and getKind() into one "kind". - Add empty getDestructorDecl() method to CFGImplicitDtor. llvm-svn: 126738
2010-09-16Introduce new CFGElement hierarchy to support C++ CFG, based on Marcin's patchZhongxing Xu1-8/+11
and discussions with Ted and Jordy. llvm-svn: 114056
2010-08-11Fix a bug where child statements could not be identified as being in a ↵Tom Care1-1/+1
CFGBlock in CFGStmtMap::getBlock. llvm-svn: 110881
2010-08-05Remove bonehead redeclaration.Ted Kremenek1-1/+1
llvm-svn: 110288
2010-08-04Add CFGStmtMap, which defines a mapping from Stmt* to CFGBlock*. The ↵Ted Kremenek1-0/+88
immediate intended use is in the unreachable code analysis. llvm-svn: 110230