summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ParentMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add method ParentMap::addStmt().Ted Kremenek2010-11-151-0/+6
| | | | llvm-svn: 119181
* GCC didn't care for my attempt at API compatibility, so brute-force everythingJohn McCall2010-08-251-1/+1
| | | | | | to the new constants. llvm-svn: 112047
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-5/+5
| | | | llvm-svn: 81346
* Add ParentMap:getParentIgnoreParens().Ted Kremenek2009-05-111-0/+5
| | | | llvm-svn: 71469
* Fix subtle bug in ParentMap::isConsumedExpr(): correctly ignore *parents* thatTed Kremenek2009-05-051-1/+1
| | | | | | are ParenExpr or CastExprs. llvm-svn: 71026
* Another ParentMap bug: only the right side of a comma expression is consumed.Ted Kremenek2009-04-091-2/+2
| | | | llvm-svn: 68680
* Fix bug in ParentMap::isConsumedExpr. A BinaryOperator always "consumes" theTed Kremenek2009-04-081-1/+3
| | | | | | | value of its subexpressions unless it is a comma (in which case it doesn't consume the left subexpression). llvm-svn: 68628
* Fix: <rdar://problem/6740387>. Sending nil to an object that returns a structTed Kremenek2009-04-011-0/+40
| | | | | | | should only be an error if that value is consumed. This fix was largely accomplished by moving 'isConsumedExpr' back to ParentMap. llvm-svn: 68195
* Dead stores checker: Fix <rdar://problem/6506065> by being more selective ↵Ted Kremenek2009-01-201-8/+0
| | | | | | when say that a store is dead even though the computed value is used in the enclosing expression. llvm-svn: 62552
* More #include cleaningDaniel Dunbar2008-08-111-0/+1
| | | | | | | | | | | - Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632
* Added ParentMap, a class to represent a lazily constructed mapping from ↵Ted Kremenek2008-06-201-0/+54
child to parents. llvm-svn: 52553
OpenPOWER on IntegriCloud