]> granicus.if.org Git - clang/commit
Added support for StmtIterators to iterate over the size expressions
authorTed Kremenek <kremenek@apple.com>
Mon, 29 Oct 2007 21:38:03 +0000 (21:38 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 29 Oct 2007 21:38:03 +0000 (21:38 +0000)
commit771fe16a5e5cbd80902f44b1286985654ffec751
treee14554eb4d887bf27337695b4a6bf713fe1efa5b
parent103a1b45a9167ced1816101d9fb198848f05e2e4
Added support for StmtIterators to iterate over the size expressions
of VariableArrayTypes that appear in TypedefDecls.

for example:

  typedef int T[x][x];

the StmtIterator will iterate over "x" and "x" as subexpressions of
the DeclStmt for T.

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