Revision tags: llvmorg-21-init |
|
#
bc74625f |
| 14-Jan-2025 |
zotnhucucbot <thaiphd@gmail.com> |
[clang-tidy] Add an option to exclude files not present in the compile database (#120348)
A change list may include files that are not part of the compile database, which can cause clang-tidy to fai
[clang-tidy] Add an option to exclude files not present in the compile database (#120348)
A change list may include files that are not part of the compile database, which can cause clang-tidy to fail (e.g., due to missing included headers). To prevent false negatives, we should allow to skip processing these files.
show more ...
|
Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init |
|
#
4558e45e |
| 26-Jun-2024 |
Congcong Cai <congcongcai0907@163.com> |
[clang-tidy] add option to avoid "no checks enabled" error (#96122)
When clang-tidy get an empty checks, it will throw "no checks enabled" error and exit with non-zero return value. It make clang-ti
[clang-tidy] add option to avoid "no checks enabled" error (#96122)
When clang-tidy get an empty checks, it will throw "no checks enabled" error and exit with non-zero return value. It make clang-tidy's wrapper program confused when in big project some files don't want to be checked and use `-checks=-*` to disable all checks.
---------
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
show more ...
|
Revision tags: llvmorg-18.1.8 |
|
#
d63be475 |
| 10-Jun-2024 |
Eisuke Kawashima <e.kawaschima+github@gmail.com> |
[clang-tidy] fix(clang-tools-extra/**.py): fix invalid escape sequences (#94028)
|
Revision tags: llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init |
|
#
c019ed97 |
| 26-Dec-2023 |
Michael Lettrich <MichaelLettrich@users.noreply.github.com> |
Allow to pass config file to clang-tidy-diff (#75457)
Adds a `-config-file` command line option that passes on the path of
.`clang-tidy` or custom config file to the `clang-tidy` executable.
|
Revision tags: llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4 |
|
#
49af6502 |
| 20-Oct-2023 |
Amadeus Gebauer <5357441+amgebauer@users.noreply.github.com> |
[run-clang-tidy] Accept export directory if PyYAML is not installed (#69700)
If PyYAML is not installed, the `-export-fixes` can be used to specify a
directory (not a file).
Mentioning @PiotrZSL
[run-clang-tidy] Accept export directory if PyYAML is not installed (#69700)
If PyYAML is not installed, the `-export-fixes` can be used to specify a
directory (not a file).
Mentioning @PiotrZSL @dyung
Follows #69453
show more ...
|
#
5557d983 |
| 20-Oct-2023 |
Amadeus Gebauer <5357441+amgebauer@users.noreply.github.com> |
[run-clang-tidy,clang-tidy-diff] Accept directory as value for -export-fixes (#69453)
Adding an additional parameter to run_clang_tidy.py to accept a
directory where the clang-tidy fixes are saved
[run-clang-tidy,clang-tidy-diff] Accept directory as value for -export-fixes (#69453)
Adding an additional parameter to run_clang_tidy.py to accept a
directory where the clang-tidy fixes are saved to. This directory can
then be used to run `clang-apply-replacements`.
Closes #69450
show more ...
|
Revision tags: llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4 |
|
#
4294bca5 |
| 31-Aug-2023 |
Piotr Zegar <me@piotrzegar.pl> |
[clang-tidy] Add exit code support to clang-tidy-diff.py
Modify script to fail when some run clang-tidy command fails. Based on run_clang-tidy.
Fixes: #65000
Reviewed By: carlosgalvezp
Differenti
[clang-tidy] Add exit code support to clang-tidy-diff.py
Modify script to fail when some run clang-tidy command fails. Based on run_clang-tidy.
Fixes: #65000
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D158929
show more ...
|
Revision tags: llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init |
|
#
47544070 |
| 23-Jul-2023 |
Shivam Gupta <Shivam.Gupta2@amd.com> |
[clang-tidy][clang-tidy-diff.py] Change shebang from python to python3
|
Revision tags: llvmorg-16.0.6, llvmorg-16.0.5 |
|
#
dd3c26a0 |
| 17-May-2023 |
Tobias Hieta <tobias@hieta.se> |
[NFC][Py Reformat] Reformat python files in clang and clang-tools-extra
This is an ongoing series of commits that are reformatting our Python code.
Reformatting is done with `black`.
If you end up
[NFC][Py Reformat] Reformat python files in clang and clang-tools-extra
This is an ongoing series of commits that are reformatting our Python code.
Reformatting is done with `black`.
If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black.
If you run into any problems, post to discourse about it and we will try to help.
RFC Thread below:
https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Reviewed By: MatzeB
Differential Revision: https://reviews.llvm.org/D150761
show more ...
|
Revision tags: llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, working, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1 |
|
#
b1f1688e |
| 08-Apr-2022 |
Bernhard Manfred Gruber <bernhardmgruber@gmail.com> |
[clang-tidy] support --load in clang-tidy-diff.py/run-clang-tidy.py
Support for loading shared objects as plugins into clang-tidy was added in http://reviews.llvm.org/D111100. Unfortunately, the uti
[clang-tidy] support --load in clang-tidy-diff.py/run-clang-tidy.py
Support for loading shared objects as plugins into clang-tidy was added in http://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.
Differential Revision: http://reviews.llvm.org/D12306
Reviewed By: aaron.ballman
show more ...
|
Revision tags: llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2, llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1, llvmorg-12.0.0, llvmorg-12.0.0-rc5, llvmorg-12.0.0-rc4, llvmorg-12.0.0-rc3, llvmorg-12.0.0-rc2 |
|
#
af06ff1c |
| 18-Feb-2021 |
Jonas Otto <jonas@jonasotto.com> |
add -use-color option to clang-tidy-diff.py
Clang-tidy seems to output color only when printing directly to terminal, but an option to force color-output has been added in https://reviews.llvm.org/D
add -use-color option to clang-tidy-diff.py
Clang-tidy seems to output color only when printing directly to terminal, but an option to force color-output has been added in https://reviews.llvm.org/D7947
show more ...
|
Revision tags: llvmorg-11.1.0, llvmorg-11.1.0-rc3, llvmorg-12.0.0-rc1, llvmorg-13-init, llvmorg-11.1.0-rc2, llvmorg-11.1.0-rc1, llvmorg-11.0.1, llvmorg-11.0.1-rc2, llvmorg-11.0.1-rc1, llvmorg-11.0.0, llvmorg-11.0.0-rc6, llvmorg-11.0.0-rc5, llvmorg-11.0.0-rc4, llvmorg-11.0.0-rc3, llvmorg-11.0.0-rc2, llvmorg-11.0.0-rc1, llvmorg-12-init, llvmorg-10.0.1, llvmorg-10.0.1-rc4, llvmorg-10.0.1-rc3, llvmorg-10.0.1-rc2, llvmorg-10.0.1-rc1 |
|
#
968d2930 |
| 18-May-2020 |
Kirill Bobyrev <kbobyrev@google.com> |
[clang-tidy] NFC: Cleanup Python scripts
Summary: Silence few PEP8 warnings.
Reviewers: hokein
Reviewed By: hokein
Subscribers: Eugene.Zelenko, xazax.hun, cfe-commits
Tags: #clang
Differential
[clang-tidy] NFC: Cleanup Python scripts
Summary: Silence few PEP8 warnings.
Reviewers: hokein
Reviewed By: hokein
Subscribers: Eugene.Zelenko, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78985
show more ...
|
Revision tags: llvmorg-10.0.0, llvmorg-10.0.0-rc6, llvmorg-10.0.0-rc5, llvmorg-10.0.0-rc4, llvmorg-10.0.0-rc3, llvmorg-10.0.0-rc2, llvmorg-10.0.0-rc1, llvmorg-11-init, llvmorg-9.0.1, llvmorg-9.0.1-rc3, llvmorg-9.0.1-rc2, llvmorg-9.0.1-rc1, llvmorg-9.0.0, llvmorg-9.0.0-rc6, llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4, llvmorg-9.0.0-rc3, llvmorg-9.0.0-rc2, llvmorg-9.0.0-rc1, llvmorg-10-init, llvmorg-8.0.1, llvmorg-8.0.1-rc4, llvmorg-8.0.1-rc3, llvmorg-8.0.1-rc2, llvmorg-8.0.1-rc1 |
|
#
f8b7269f |
| 27-Mar-2019 |
Zinovy Nis <zinovy.nis@gmail.com> |
[clang-tidy] Handle missing yaml module in run-clang-tidy.py
The Yaml module is missing on some systems and on many of clang buildbots. But the test for run-clang-tidy.py doesn't fail due to 'NOT'
[clang-tidy] Handle missing yaml module in run-clang-tidy.py
The Yaml module is missing on some systems and on many of clang buildbots. But the test for run-clang-tidy.py doesn't fail due to 'NOT' statement masking a python runtime error.
This patch conditionally imports and enables the yaml module only if it's present in the system. If not, then '-export-fixes' is disabled.
Differential Revision: https://reviews.llvm.org/D59734
llvm-svn: 357114
show more ...
|
#
72bb9a65 |
| 21-Mar-2019 |
Zinovy Nis <zinovy.nis@gmail.com> |
Reland r356547 after fixing the YAML module missing issue.
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max c
Reland r356547 after fixing the YAML module missing issue.
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command line length restrictions imposed by OS; - clang-tidy runs on modified files are independent and can be done in parallel, the same as done for run-clang-tidy.
Differential Revision: https://reviews.llvm.org/D5766
llvm-svn: 356649
show more ...
|
#
6452ba47 |
| 20-Mar-2019 |
Douglas Yung <douglas.yung@sony.com> |
Revert "Reland r356547 after fixing the tests for Linux."
This reverts commit 538fb72226cf6dff95af83f7777e12b8dbd061ea (r356565).
This is still breaking a build bot: http://lab.llvm.org:8011/builde
Revert "Reland r356547 after fixing the tests for Linux."
This reverts commit 538fb72226cf6dff95af83f7777e12b8dbd061ea (r356565).
This is still breaking a build bot: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/45557
llvm-svn: 356630
show more ...
|
#
538fb722 |
| 20-Mar-2019 |
Zinovy Nis <zinovy.nis@gmail.com> |
Reland r356547 after fixing the tests for Linux.
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command lin
Reland r356547 after fixing the tests for Linux.
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command line length restrictions imposed by OS; - clang-tidy runs on modified files are independent and can be done in parallel, the same as done for run-clang-tidy.
Differential Revision: https://reviews.llvm.org/D57662
llvm-svn: 356565
show more ...
|
#
2b70dcd2 |
| 20-Mar-2019 |
Simon Pilgrim <llvm-dev@redking.me.uk> |
Revert rL356547 : [clang-tidy] Cosmetic fix Differential Revision: https://reviews.llvm.org/D57662 ........ [clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches
Revert rL356547 : [clang-tidy] Cosmetic fix Differential Revision: https://reviews.llvm.org/D57662 ........ [clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command line length restrictions imposed by OS; - clang-tidy runs on modified files are independent and can be done in parallel, the same as done for run-clang-tidy.
Differential Revision: https://reviews.llvm.org/D57662 ........ Reverted to fix buildbot: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/45547/steps/test/logs/stdio
llvm-svn: 356553
show more ...
|
#
4bfe8367 |
| 20-Mar-2019 |
Zinovy Nis <zinovy.nis@gmail.com> |
[clang-tidy] Cosmetic fix
Differential Revision: https://reviews.llvm.org/D57662
llvm-svn: 356548
|
#
d3939d20 |
| 20-Mar-2019 |
Zinovy Nis <zinovy.nis@gmail.com> |
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command line length restrictions imposed by OS; - clang-tidy
[clang-tidy] Parallelize clang-tidy-diff.py
This patch has 2 rationales:
- large patches lead to long command lines and often cause max command line length restrictions imposed by OS; - clang-tidy runs on modified files are independent and can be done in parallel, the same as done for run-clang-tidy.
Differential Revision: https://reviews.llvm.org/D57662
llvm-svn: 356547
show more ...
|
Revision tags: llvmorg-8.0.0, llvmorg-8.0.0-rc5, llvmorg-8.0.0-rc4, llvmorg-8.0.0-rc3, llvmorg-7.1.0, llvmorg-7.1.0-rc1, llvmorg-8.0.0-rc2, llvmorg-8.0.0-rc1 |
|
#
2946cd70 |
| 19-Jan-2019 |
Chandler Carruth <chandlerc@gmail.com> |
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
We understand that people may be surprised that we're moving the header entirely to discuss the ne
Update the file headers across all of the LLVM projects in the monorepo to reflect the new license.
We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach.
Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository.
llvm-svn: 351636
show more ...
|
#
e2e73b22 |
| 21-Dec-2018 |
Julie Hockett <juliehockett@google.com> |
[clang-tidy] Add export-fixes flag to clang-tidy-diff
Differential Revision: https://reviews.llvm.org/D55848
llvm-svn: 349930
|
Revision tags: llvmorg-7.0.1, llvmorg-7.0.1-rc3, llvmorg-7.0.1-rc2, llvmorg-7.0.1-rc1, llvmorg-7.0.0, llvmorg-7.0.0-rc3, llvmorg-7.0.0-rc2, llvmorg-7.0.0-rc1, llvmorg-6.0.1, llvmorg-6.0.1-rc3, llvmorg-6.0.1-rc2, llvmorg-6.0.1-rc1, llvmorg-5.0.2, llvmorg-5.0.2-rc2, llvmorg-5.0.2-rc1, llvmorg-6.0.0, llvmorg-6.0.0-rc3, llvmorg-6.0.0-rc2, llvmorg-6.0.0-rc1, llvmorg-5.0.1, llvmorg-5.0.1-rc3, llvmorg-5.0.1-rc2, llvmorg-5.0.1-rc1, llvmorg-5.0.0, llvmorg-5.0.0-rc5, llvmorg-5.0.0-rc4, llvmorg-5.0.0-rc3, llvmorg-5.0.0-rc2, llvmorg-5.0.0-rc1, llvmorg-4.0.1, llvmorg-4.0.1-rc3, llvmorg-4.0.1-rc2, llvmorg-4.0.1-rc1, llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3 |
|
#
fae3ac3e |
| 17-Feb-2017 |
Ehsan Akhgari <ehsan.akhgari@gmail.com> |
[clang-tidy] Add -path option to clang-tidy-diff.py
Summary: This flag allows specifying a custom path for the compilation database. Unfortunately we can't use the -p flag like other clang-tidy too
[clang-tidy] Add -path option to clang-tidy-diff.py
Summary: This flag allows specifying a custom path for the compilation database. Unfortunately we can't use the -p flag like other clang-tidy tools because it's already taken.
Reviewers: alexfh
Subscribers: JDevlieghere, cfe-commits
Differential Revision: https://reviews.llvm.org/D29806
llvm-svn: 295482
show more ...
|
#
b7418d3b |
| 09-Feb-2017 |
Ehsan Akhgari <ehsan.akhgari@gmail.com> |
[clang-tidy] Add -quiet option to suppress extra output
Summary: This new flag instructs clang-tidy to not output anything except for errors and warnings. This makes it easier to script clang-tidy
[clang-tidy] Add -quiet option to suppress extra output
Summary: This new flag instructs clang-tidy to not output anything except for errors and warnings. This makes it easier to script clang-tidy to run as part of external build systems.
Reviewers: bkramer, alexfh, klimek
Subscribers: JDevlieghere, cfe-commits
Differential Revision: https://reviews.llvm.org/D29661
llvm-svn: 294607
show more ...
|
Revision tags: llvmorg-4.0.0-rc2 |
|
#
3bceebb0 |
| 08-Feb-2017 |
Ehsan Akhgari <ehsan.akhgari@gmail.com> |
[clang-tidy] Add -extra-arg and -extra-arg-before to clang-tidy-diff.py
Summary: These flags allow specifying extra arguments to the tool's command line which don't appear in the compilation databas
[clang-tidy] Add -extra-arg and -extra-arg-before to clang-tidy-diff.py
Summary: These flags allow specifying extra arguments to the tool's command line which don't appear in the compilation database.
Reviewers: alexfh, klimek, bkramer
Subscribers: JDevlieghere, cfe-commits
Differential Revision: https://reviews.llvm.org/D29699
llvm-svn: 294491
show more ...
|
Revision tags: llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1, llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1 |
|
#
fb90b51e |
| 08-Jun-2016 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] correct clang-tidy-diff.py help message
Summary: Looks like the original code was copied from clang-format-diff.py. Update help message to make it clang-tidy specific.
Reviewers: klime
[clang-tidy] correct clang-tidy-diff.py help message
Summary: Looks like the original code was copied from clang-format-diff.py. Update help message to make it clang-tidy specific.
Reviewers: klimek, alexfh
Subscribers: Eugene.Zelenko, cfe-commits
Patch by Igor Sugak!
Differential Revision: http://reviews.llvm.org/D21050
llvm-svn: 272144
show more ...
|