aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-07-13 10:36:33 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-07-13 10:36:33 +0000
commit98394f8393f42d24788a7abe58995e88d3904624 (patch)
tree8769e3b49e5e33fd5fcee503b64194d38033027a /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentd32f9c8190c0fb507fb4313325cb7e223cf4b26f (diff)
downloadllvm-98394f8393f42d24788a7abe58995e88d3904624.zip
llvm-98394f8393f42d24788a7abe58995e88d3904624.tar.gz
llvm-98394f8393f42d24788a7abe58995e88d3904624.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions