[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-14 Thread Owen Pan via cfe-commits
@@ -189,6 +189,13 @@ def main(): default=config.get("clangformat.style", None), help="passed to clang-format", ), +p.add_argument( owenca wrote: Please move this to just before `--force` to keep the options sorted. (We can also move `-

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-14 Thread Owen Pan via cfe-commits
https://github.com/owenca approved this pull request. https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-14 Thread Owen Pan via cfe-commits
@@ -189,6 +189,13 @@ def main(): default=config.get("clangformat.style", None), help="passed to clang-format", ), +p.add_argument( +"--fallback-style", +help="The name of the predefined style used as a " +"fallback in case clang-f

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial updated https://github.com/llvm/llvm-project/pull/137609 From 49c012fc5813867f56f3f9b3556dcb70a1985cfd Mon Sep 17 00:00:00 2001 From: Andrej Pistek Date: Mon, 7 Apr 2025 13:37:47 +0200 Subject: [PATCH] [git-clang-format] add fallback style arg --- clang/tools/cl

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial updated https://github.com/llvm/llvm-project/pull/137609 From 2e82063e9e2c159a7a713ecedbcc0bfbdbf66143 Mon Sep 17 00:00:00 2001 From: Andrej Pistek Date: Mon, 7 Apr 2025 13:37:47 +0200 Subject: [PATCH] [git-clang-format] add fallback style arg --- clang/tools/cl

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial edited https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial edited https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
apdofficial wrote: > @llvm/pr-subscribers-clang-format > > Author: Andrej Pištek (apdofficial) > Changes Please let me know whether the updated description is sufficient. If noy, I can update it. Thank you. https://github.com/llvm/llvm-project/pull/137609 _

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial edited https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-08 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial edited https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-05-01 Thread Owen Pan via cfe-commits
owenca wrote: Please add a description so that we'll understand why you need this new option. https://github.com/llvm/llvm-project/pull/137609 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-04-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Andrej Pištek (apdofficial) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/137609.diff 1 Files Affected: - (modified) clang/tools/clang-format/git-clang-format (+22-2) ``diff diff --git a/clang/tools

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-04-28 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [git-clang-format] add fallback style argument option (PR #137609)

2025-04-28 Thread Andrej Pištek via cfe-commits
https://github.com/apdofficial created https://github.com/llvm/llvm-project/pull/137609 None From 3a6307266d0247ce65880786c82094350b6c6d8b Mon Sep 17 00:00:00 2001 From: Andrej Pistek Date: Mon, 7 Apr 2025 13:37:47 +0200 Subject: [PATCH] [git-clang-format] add fallback style arg --- clang/to