[clang-tools-extra] Add ability to pass in a clang-tidy config file to clang-tidy-diff (PR #75721)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 16 15:58:47 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 0ca95b269ff90afb706e2cf4c4a59d7c3afe6c65...433f4ac919a6967c278e56a19b5824e474ebd907 clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- clang-tidy-diff.py 2023-12-16 23:53:56.000000 +0000
+++ clang-tidy-diff.py 2023-12-16 23:58:40.770370 +0000
@@ -225,11 +225,11 @@
)
parser.add_argument(
"-config",
dest="config",
default=None,
- help="Specifies a clang-tidy config file"
+ help="Specifies a clang-tidy config file",
)
clang_tidy_args = []
argv = sys.argv[1:]
if "--" in argv:
``````````
</details>
https://github.com/llvm/llvm-project/pull/75721
More information about the cfe-commits
mailing list