[all-commits] [llvm/llvm-project] a22147: Move clang/Tooling/Core/Lookup.h to clang/Tooling/...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Oct 20 02:14:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a2214757e2ca445112f19395493a78e820389655
      https://github.com/llvm/llvm-project/commit/a2214757e2ca445112f19395493a78e820389655
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    R clang/include/clang/Tooling/Core/Lookup.h
    A clang/include/clang/Tooling/Refactoring/Lookup.h
    M clang/lib/Format/FormatInternal.h
    M clang/lib/Tooling/Core/CMakeLists.txt
    R clang/lib/Tooling/Core/Lookup.cpp
    M clang/lib/Tooling/Refactoring/CMakeLists.txt
    A clang/lib/Tooling/Refactoring/Lookup.cpp
    M clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp
    M clang/unittests/Tooling/LookupTest.cpp

  Log Message:
  -----------
  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


  Commit: 66a3b9073ac116f0ee39baf625c733abe18140e5
      https://github.com/llvm/llvm-project/commit/66a3b9073ac116f0ee39baf625c733abe18140e5
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M clang/unittests/Format/CMakeLists.txt
    M clang/unittests/Format/CleanupTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/FormatTestComments.cpp
    M clang/unittests/Format/FormatTestObjC.cpp
    M clang/unittests/Format/FormatTestRawStrings.cpp
    M clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
    M clang/unittests/Tooling/RewriterTestContext.h

  Log Message:
  -----------
  [clang-format] Drop clangFrontend dependency for FormatTests

This allows building the clang-format unit tests in only 657 ninja steps
rather than 1257 which allows for much faster incremental builds after a
git pull.

Reviewed By: MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D89709


Compare: https://github.com/llvm/llvm-project/compare/f2cca0b29149...66a3b9073ac1


More information about the All-commits mailing list