projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f717c2d
)
[clang-tidy][NFC] Update path of main translation unit
author
Jens Carl
<jenne@jens-carl.de>
Tue, 18 Jul 2023 15:48:22 +0000
(15:48 +0000)
committer
Piotr Zegar
<me@piotrzegar.pl>
Tue, 18 Jul 2023 15:49:01 +0000
(15:49 +0000)
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
clang-tools-extra/docs/clang-tidy/Contributing.rst
patch
|
blob
|
history
diff --git
a/clang-tools-extra/docs/clang-tidy/Contributing.rst
b/clang-tools-extra/docs/clang-tidy/Contributing.rst
index
c4b9392
..
92074bd
100644
(file)
--- 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++