[clang][Tooling] Move STL recognizer to its own library
authorKadir Cetinkaya <kadircet@google.com>
Wed, 5 Oct 2022 07:52:20 +0000 (09:52 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Thu, 6 Oct 2022 08:09:13 +0000 (10:09 +0200)
commitd1f13c54f172875d9a14c46c09afb1f22d78cdf8
tree844e18030b61eb9dc95bf4ef082c6c6edb3b0fd1
parent6053b37e454c056d25a31b39a06279cafd35edc8
[clang][Tooling] Move STL recognizer to its own library

As pointed out in https://reviews.llvm.org/D119130#3829816, this
introduces a clang AST dependency to the clangToolingInclusions, which is used
by clang-format.

Since rest of the inclusion tooling doesn't depend on clang ast, moving this
into a separate library.

Differential Revision: https://reviews.llvm.org/D135245
clang-tools-extra/clangd/CMakeLists.txt
clang/lib/Tooling/Inclusions/CMakeLists.txt
clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt [new file with mode: 0644]
clang/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp [moved from clang/lib/Tooling/Inclusions/StandardLibrary.cpp with 100% similarity]
clang/unittests/Tooling/CMakeLists.txt