llvm-project/clang/unittests/Tooling
Nico Weber c4acee3380 Let RecursiveASTVisitor visit array index VarDecls
An implicit copy ctor creates loop VarDecls that hang off CXXCtorInitializer.
RecursiveASTVisitor used to not visit them, so that they didn't show up in the
parent map used by ASTMatchers, causing asserts() when the implicit
DeclRefExpr() in a CXXCtorInitializer referred to one of these VarDecls.

Fixes PR26227.
http://reviews.llvm.org/D16413

llvm-svn: 258503
2016-01-22 15:11:54 +00:00
..
CMakeLists.txt [Tooling] Add a utility function to replace one nested name with another. 2015-10-22 15:04:10 +00:00
CommentHandlerTest.cpp Wdeprecated: CommentVerifiers are returned by value, make sure they're correctly copy/moveable 2015-08-13 21:24:08 +00:00
CompilationDatabaseTest.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
LookupTest.cpp [Tooling] Add a utility function to replace one nested name with another. 2015-10-22 15:04:10 +00:00
Makefile Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
RecursiveASTVisitorTest.cpp Let RecursiveASTVisitor visit array index VarDecls 2016-01-22 15:11:54 +00:00
RecursiveASTVisitorTestCallVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestExprVisitor.cpp Separated RecursiveASTVisitorTest into multiple files. 2014-10-09 15:02:06 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp Fix initializing TypeOfTypeLoc 2014-10-24 13:52:55 +00:00
RefactoringCallbacksTest.cpp Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects. 2015-09-17 13:30:52 +00:00
RefactoringTest.cpp Fix calculation of shifted cursor/code positions. Specifically support 2015-11-23 08:33:48 +00:00
ReplacementsYamlTest.cpp Do not quote YAML plain string myself. Let YAMLIO do that. 2013-09-11 04:00:35 +00:00
RewriterTest.cpp Avoid using set::emplace as it is apparently not supported by gcc 4.7. 2015-06-16 13:15:54 +00:00
RewriterTestContext.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
TestVisitor.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
ToolingTest.cpp Make ArgumentAdjuster aware of the current file being processed. 2015-11-05 02:19:53 +00:00