]> granicus.if.org Git - clang/commit
Add support for traversing initializer lists (in constructors), which
authorCraig Silverstein <csilvers2000@yahoo.com>
Mon, 28 Jun 2010 15:37:14 +0000 (15:37 +0000)
committerCraig Silverstein <csilvers2000@yahoo.com>
Mon, 28 Jun 2010 15:37:14 +0000 (15:37 +0000)
commit0f8c08843fc6c8abe03654f609e1e03fcc557855
treeb446eaae8e31fb827d74d9cf6c9200267d6f1787
parent2111c855343a0530e236bf0862358ec8d67b28f3
Add support for traversing initializer lists (in constructors), which
we ignoring before.  To give access to the names on the initializer,
which aren't a type or an expr or a decl, I've introduced a new
TraverseInitializer.  By default, it just traverses on the expr that
the name is being initialized to.

Reviewed by chandlerc.  Tested via clang's 'make test'.

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