llvm-project/clang/unittests/Tooling
Eric Liu eddec09ee4 Consider nested namespaces in the canonical namespace as canonical as well.
Summary:
For example, this case was missed when looking for different but canonical
namespaces. UseContext in this case should be considered as in the canonical
namespace.
```
namespace a { namespace b { <FromContext> } }
namespace a { namespace b { namespace c { <UseContext> } } }
```
Added some commenting.

Reviewers: bkramer

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D27125

llvm-svn: 287924
2016-11-25 12:39:03 +00:00
..
CMakeLists.txt Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; we are now bumping up against that limit with MSVC 2015 in Win64 debug build mode. 2016-11-02 14:31:36 +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 Resubmit "[Tooling] Parse compilation database command lines on Windows." 2016-08-18 19:31:48 +00:00
FixItTest.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
LookupTest.cpp Consider nested namespaces in the canonical namespace as canonical as well. 2016-11-25 12:39:03 +00:00
QualTypeNamesTest.cpp [Tooling] Add optional argument to getFullyQualifiedName to prepend "::". 2016-06-29 22:38:59 +00:00
RecursiveASTVisitorTest.cpp [RecursiveASTVisitor] Visit the implicit expression of a CXXDefaultArgExpr 2016-10-26 20:39:54 +00:00
RecursiveASTVisitorTestCallVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestDeclVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
RecursiveASTVisitorTestExprVisitor.cpp Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture(). 2016-08-17 14:59:53 +00:00
RecursiveASTVisitorTestTypeLocVisitor.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +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 Make llvm::Error generated from replacement interfaces more specific. 2016-11-22 13:46:42 +00:00
ReplacementTest.h Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
ReplacementsYamlTest.cpp
RewriterTest.cpp Implement tooling::Replacements as a class. 2016-08-01 10:16:37 +00:00
RewriterTestContext.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
TestVisitor.h Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture(). 2016-08-17 14:59:53 +00:00
ToolingTest.cpp Fix colored diagnostics from tools 2016-08-30 17:42:29 +00:00