diff options
author | MichelleCDjunaidi <michellechrisalyn@gmail.com> | 2024-08-30 21:55:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 09:55:13 -0400 |
commit | 362d37aeab7e8ba5dc4125480de3d45cc6bb23dc (patch) | |
tree | 5090cfbe3fd7549c97ac6361e794c54fb60f77ef /lldb/source/Commands/CommandObjectSource.cpp | |
parent | b719c9255126aeba7a9455fd026471c45c988e2d (diff) | |
download | llvm-362d37aeab7e8ba5dc4125480de3d45cc6bb23dc.zip llvm-362d37aeab7e8ba5dc4125480de3d45cc6bb23dc.tar.gz llvm-362d37aeab7e8ba5dc4125480de3d45cc6bb23dc.tar.bz2 |
Update clang tidy Contributing guide (#106672)
Update the documentation to direct new users to the Github instead of
the discontinued Phabricator archive. Also details more ways and
information regarding clang-query usage. Partially resolves/disclaims
#106656 and #106663 as per discussion in
https://discourse.llvm.org/t/inconsistency-between-hasdescendant-in-clang-query-and-clang-libtooling-matchers/80799/.
Also updates the out-of-tree guide.
For context, I recently went through the Contributing guide while
writing https://github.com/llvm/llvm-project/pull/102299, and many of
these updates were from my experience trying to follow the guide. e.g. I
was trying to link the shared library of an out-of-tree check as SHARED
in CMake and encountered duplicate symbols like
_ZTIN5clang4tidy14ClangTidyCheckE. It wasn't until I saw
https://github.com/llvm/llvm-project/commit/84f137a590e7de25c4105303e5938c40566c2dfb
that I found out I had to use MODULE. I also encountered the clang-query
difference which was a surprise as the documentation said the two
matchers were "virtually identical". Also, the -header-filter thing
tripped me out until I found
https://github.com/llvm/llvm-project/issues/25590 and
https://github.com/llvm/llvm-project/pull/91400. Usually, when people
say restrict and filter, they mean filter out (since -header-filter
instead includes/filters in said headers).
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions