[clang-tools-extra] 37937b8 - [clang-tidy][NFC] Update path of main translation unit
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 18 08:49:33 PDT 2023
Author: Jens Carl
Date: 2023-07-18T15:49:01Z
New Revision: 37937b8a040c5525a92c7ce23c329383e9d0c8e4
URL: https://github.com/llvm/llvm-project/commit/37937b8a040c5525a92c7ce23c329383e9d0c8e4
DIFF: https://github.com/llvm/llvm-project/commit/37937b8a040c5525a92c7ce23c329383e9d0c8e4.diff
LOG: [clang-tidy][NFC] Update path of main translation unit
The forcing of the linker for a new module was moved from file
clang-tidy/tools/ClangTidyModule.cpp to
clang-tidy/ClangTidyForceLinker.h.
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D76477
Added:
Modified:
clang-tools-extra/docs/clang-tidy/Contributing.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/Contributing.rst b/clang-tools-extra/docs/clang-tidy/Contributing.rst
index c4b93927eae234..92074bd4dae8ba 100644
--- a/clang-tools-extra/docs/clang-tidy/Contributing.rst
+++ b/clang-tools-extra/docs/clang-tidy/Contributing.rst
@@ -475,7 +475,7 @@ Add this near the ``ClangTidyModuleRegistry::Add<MyModule>`` variable:
And this to the main translation unit of the :program:`clang-tidy` binary (or
the binary you link the ``clang-tidy`` library in)
-``clang-tidy/tool/ClangTidyMain.cpp``:
+``clang-tidy/ClangTidyForceLinker.h``:
.. code-block:: c++
More information about the cfe-commits
mailing list