]> granicus.if.org Git - clang/commit
Fix bug in ParentMap::isConsumedExpr. A BinaryOperator always "consumes" the
authorTed Kremenek <kremenek@apple.com>
Wed, 8 Apr 2009 18:49:36 +0000 (18:49 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 8 Apr 2009 18:49:36 +0000 (18:49 +0000)
commite42ac98bc2d50506216b6ef258594bdaa59c47c1
treed29e9ba56abb24ea898a7be3629ad9fefb840d02
parentde076650fa79a02743b5fe57a72f991ba24779f9
Fix bug in ParentMap::isConsumedExpr. A BinaryOperator always "consumes" the
value of its subexpressions unless it is a comma (in which case it doesn't
consume the left subexpression).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ParentMap.cpp