[clang-tools-extra] [clang-tidy] Use --match-full-lines instead of --strict-whitespace in check_clang_tidy (PR #133756)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 31 10:27:54 PDT 2025


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 HEAD~1...HEAD clang-tools-extra/test/clang-tidy/check_clang_tidy.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- check_clang_tidy.py	2025-03-31 17:23:57.000000 +0000
+++ check_clang_tidy.py	2025-03-31 17:27:24.574769 +0000
@@ -374,11 +374,11 @@
         help="Passed to clang. Special -or-later values are expanded.",
     )
     parser.add_argument(
         "--match-partial-fixes",
         action="store_true",
-        help="allow partial line matches for fixes"
+        help="allow partial line matches for fixes",
     )
     return parser.parse_known_args()
 
 
 def main() -> None:

``````````

</details>


https://github.com/llvm/llvm-project/pull/133756


More information about the cfe-commits mailing list