Support for loading shared objects as plugins into clang-tidy was added in https://reviews.llvm.org/D111100. Unfortunately, the utility scripts clang-tidy-diff.py and run-clang-tidy.py did not receive corresponding arguments to forward such plugins to clang-tidy. This diff adds a -load=plugin option to both scripts.
Details
Diff Detail
Event Timeline
I did not base this revision on my latest main (422d05e792dbd6a97f5afd4cdd5e8aa677e97444) since I could not run the python scripts with the changes introduced in 9e1f4f13984186984ba37513372c1b7e0c4ba4fd.
Can you try with https://reviews.llvm.org/D123074 applied, just to double-check my LG? :-)
The changes here LGTM otherwise (very minor nit with the help text wording, feel free to ignore if you disagree with the rewording), thank you for the fix!
clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py | ||
---|---|---|
165 | ||
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py | ||
277 |
Yes, sure, just please specify what user.name and user.email would you like to be associated with the commit's author?
Yes, sure, just please specify what user.name and user.email would you like to be associated with the commit's author?
user.name: Bernhard Manfred Gruber
user.email: bernhardmgruber@gmail.com
Thanks a lot!
D'oh! I made a mistake when copying the URL and accidentally associated the commit with D12306 instead of D123065... Anyhow, this was committed in rGb1f1688e90b22dedc829f5abc9a912f18c034fbc.