-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-tidy-diff.py should exit with a failure code when there are errors #65000
Labels
Comments
@llvm/issue-subscribers-clang-tidy |
https://reviews.llvm.org/D158929 |
FlashSheridan
added a commit
to matter-labs/era-compiler-llvm
that referenced
this issue
Aug 29, 2023
…uding the text below, in accordance with the following part of https://llvm.org/LICENSE.txt: (b) You must cause any modified files to carry prominent notices stating that You changed the files; and This is a proposed revision of clang-tidy-diff.py by Piotr Zegar: https://reviews.llvm.org/D158929 for llvm/llvm-project#65000, eventually to be committed upstream. It is being committed to the Matter Labs fork of LLVM, and might be further modified by its employees.
smeenai
pushed a commit
to smeenai/llvm-project
that referenced
this issue
Sep 1, 2023
Modify script to fail when some run clang-tidy command fails. Based on run_clang-tidy. Fixes: llvm#65000 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D158929 commit-id:f05b3f73
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff.py` supports exit with a failure code when there are errors from version 17 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not work if any of these issues occur. In the CI environment, we ensure that the versions of these dependencies are new enough.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff.py` supports exit with a failure code when there are errors from version 17 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not work if any of these issues occur. In the CI environment, we ensure that the versions of these dependencies are new enough.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff.py` supports exit with a failure code when there are errors from version 17 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `17`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `17`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `17`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 22, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Lai-YT
added a commit
to Lai-YT/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
leewei05
pushed a commit
to fruits-lab/vitaminc
that referenced
this issue
Feb 23, 2024
Added a script for CI execution. This script is not intended for local user execution due to the following reasons: 1. `clang-tidy-diff` supports exit with a failure code when there are errors from version 17 or 18 onward. (The exact version is uncertain. For more details, please refer to llvm/llvm-project#65000.) 2. `bear` has different command line interfaces between version <= 2.4.x and onward. (For more details, please refer to https://github.com/rizsotto/Bear?tab=readme-ov-file#how-to-use.) The script may not function properly if any of these issues arise. In the CI environment, we ensure that the versions of these dependencies are up-to-date. Specifically, the version of `clang-tidy-diff` is specified as `18`, and the version of `Bear` on Ubuntu 22.04 is 3.0.x.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similarly to #28002 for clang-tidy, clang-tidy-diff.py should have an option to exit with a failure code when there are errors; this would make our GitHub Action much simpler. Even with WarningsAsErrors set, I get “1 warning treated as error” but a 0 return code; even in quiet mode there some output even if there are no warnings, which would complicate the workaround I was contemplating.
The text was updated successfully, but these errors were encountered: