llvm-project/clang/lib/Tooling
Alex Lorenz 98394f8393 [refactor][rename] Use a single base class for class that finds
a declaration at location and for class that searches for all occurrences of
a specific declaration

This commit uses a single RecursiveSymbolVisitor class for both
USRLocFindingASTVisitor and NamedDeclOccurrenceFindingVisitor to avoid duplicate
traversal code. It also traverses nested name specifier locs in the new class
and remove the separate matching step.

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

llvm-svn: 307898
2017-07-13 10:36:33 +00:00
..
Core Add const to reference arguments of Diagnostic ctor 2017-07-05 11:45:09 +00:00
Refactoring [refactor][rename] Use a single base class for class that finds 2017-07-13 10:36:33 +00:00
ArgumentsAdjusters.cpp Allow CompilerInvocations to generate .d files. 2017-07-06 21:02:52 +00:00
CMakeLists.txt Introducing clang::tooling::AtomicChange for refactoring tools. 2017-03-01 13:14:01 +00:00
CommonOptionsParser.cpp Method loadFromCommandLine should be able to report errors 2017-05-24 11:57:37 +00:00
CompilationDatabase.cpp [Tooling] FixedCompilationDatabase should be able to strip positional 2017-06-29 10:43:44 +00:00
FileMatchTrie.cpp Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
JSONCompilationDatabase.cpp [Tooling] Remove redundant check, NFCi 2017-05-05 14:07:23 +00:00
Refactoring.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
RefactoringCallbacks.cpp [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
Tooling.cpp This call-site should have been updated as part of D34304. 2017-07-06 22:47:19 +00:00