commit | 0f8c08843fc6c8abe03654f609e1e03fcc557855 | [log] [tgz] |
---|---|---|
author | Craig Silverstein <csilvers2000@yahoo.com> | Mon Jun 28 15:37:14 2010 +0000 |
committer | Craig Silverstein <csilvers2000@yahoo.com> | Mon Jun 28 15:37:14 2010 +0000 |
tree | b446eaae8e31fb827d74d9cf6c9200267d6f1787 | |
parent | 2111c855343a0530e236bf0862358ec8d67b28f3 [diff] |
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