]> granicus.if.org Git - clang/commit
Added "mode" to StmtIterator to record if the expression being iterated
authorTed Kremenek <kremenek@apple.com>
Fri, 14 Dec 2007 23:40:56 +0000 (23:40 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 14 Dec 2007 23:40:56 +0000 (23:40 +0000)
commitb51d2b2d5497693783338c58dd778b6427e85ba7
tree9d8fc1b103c720519e595af31d8160df67ac4972
parent58dbdeb69c063f82d644504fc638120198f7fad2
Added "mode" to StmtIterator to record if the expression being iterated
over is the subexpression of a sizeof(expression).  Different clients
will wish to handle iteration over such subexpressions differently, and can
now easily query if they are iterating over such statements using the
StmtIterator's inSizeOfExpr().

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45047 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Expr.cpp
AST/StmtIterator.cpp
include/clang/AST/StmtIterator.h