[clang-tools-extra] [clang-tidy] Add support for `-ignore-insert-conflict` in `run-clang-tidy.py` (PR #127066)

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 15:34:07 PST 2025


Vicente Mataix =?utf-8?q?Ferrándiz?= <vmataix at altair.com>,
Vicente Mataix =?utf-8?q?Ferrándiz?= <vmataix at altair.com>,
Vicente Mataix =?utf-8?q?Ferrándiz?= <vmataix at altair.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/127066 at github.com>


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 39ec9de7c23063b87f5c56f4e80c8d0f8b511a4b...e8165bc2a8db2f4101d8e65f5d93cdb2c4a272d5 clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
``````````

</details>

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

``````````diff
--- run-clang-tidy.py	2025-02-14 11:25:07.000000 +0000
+++ run-clang-tidy.py	2025-02-14 23:33:40.485943 +0000
@@ -198,11 +198,11 @@
 def apply_fixes(
     args: argparse.Namespace, clang_apply_replacements_binary: str, tmpdir: str
 ) -> None:
     """Calls clang-apply-replacements on a given directory."""
     invocation = [clang_apply_replacements_binary]
-    
+
     if args.ignore_insert_conflict:
         invocation.append("-ignore-insert-conflict")
     if args.format:
         invocation.append("-format")
     if args.style:

``````````

</details>


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


More information about the cfe-commits mailing list