summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFGStmtMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [C++11] Use 'nullptr'. Analysis edition.Craig Topper2014-05-201-3/+3
| | | | llvm-svn: 209191
* Remove the CFGElement "Invalid" state.David Blaikie2013-02-231-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
* Replace CFGElement llvm::cast support to be well-defined.David Blaikie2013-02-211-2/+2
| | | | | | See r175462 for another example/more details. llvm-svn: 175796
* Constify the result of CFGStmt::getStmt().Ted Kremenek2011-08-231-1/+1
| | | | llvm-svn: 138408
* In preparation for fixing PR 6884, rework CFGElement to have getAs<> return ↵Ted Kremenek2011-03-011-3/+3
| | | | | | | | | pointers instead of fresh CFGElements. - Also, consoldiate getDtorKind() and getKind() into one "kind". - Add empty getDestructorDecl() method to CFGImplicitDtor. llvm-svn: 126738
* Introduce new CFGElement hierarchy to support C++ CFG, based on Marcin's patchZhongxing Xu2010-09-161-8/+11
| | | | | | and discussions with Ted and Jordy. llvm-svn: 114056
* Fix a bug where child statements could not be identified as being in a ↵Tom Care2010-08-111-1/+1
| | | | | | CFGBlock in CFGStmtMap::getBlock. llvm-svn: 110881
* Remove bonehead redeclaration.Ted Kremenek2010-08-051-1/+1
| | | | llvm-svn: 110288
* Add CFGStmtMap, which defines a mapping from Stmt* to CFGBlock*. The ↵Ted Kremenek2010-08-041-0/+88
immediate intended use is in the unreachable code analysis. llvm-svn: 110230
OpenPOWER on IntegriCloud