[clang-tools-extra] [clang-tidy] Add support for `-ignore-insert-conflict` in `run-clang-tidy.py` (PR #127066)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 17 01:28:09 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>
================
@@ -446,6 +448,12 @@ async def main() -> None:
action="store_true",
help="Allow empty enabled checks.",
)
+ parser.add_argument(
+ "-ignore-insert-conflict",
----------------
carlosgalvezp wrote:
Ok, then I see the following options:
- If possible, bump your installation to clang 15 (we are about to release clang 20, so it's fairly old ;) )
- Add a `-no-ignore-insert-conflict` option.
- Automatically check if the `clang_apply_replacements_binary` supports the `-ignore-insert-conflict` flag. You can easily do that by running the `clang-apply-replacements --help` command and checking if the output contains the flag. This is probably the most convenient option for the users since no changes to how the program is run are needed.
https://github.com/llvm/llvm-project/pull/127066
More information about the cfe-commits
mailing list