Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Tue, 20 Oct 2020 07:54:07 +0000 (08:54 +0100)
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Tue, 20 Oct 2020 09:13:28 +0000 (10:13 +0100)
commita2214757e2ca445112f19395493a78e820389655
treef3c14c2714fdee1b5723cd55ca6557edd1ccb630
parentf2cca0b291491f25dc6d2c073d71a2799625ad3b
Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h

This allows removing the clangAST dependency from libclangToolingCore and
therefore allows clang-format to be built without depending on clangAST.
Before 1166 files had to be compiled for clang-format, now only 796.

Reviewed By: bkramer

Differential Revision: https://reviews.llvm.org/D89708
clang/include/clang/Tooling/Refactoring/Lookup.h [moved from clang/include/clang/Tooling/Core/Lookup.h with 93% similarity]
clang/lib/Format/FormatInternal.h
clang/lib/Tooling/Core/CMakeLists.txt
clang/lib/Tooling/Refactoring/CMakeLists.txt
clang/lib/Tooling/Refactoring/Lookup.cpp [moved from clang/lib/Tooling/Core/Lookup.cpp with 99% similarity]
clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
clang/unittests/Tooling/LookupTest.cpp