[clang] [clang-format] Add AlignAfterOpenBracketOptions (PR #108332)

2024-09-11 Thread Gedare Bloom via cfe-commits
https://github.com/gedare created https://github.com/llvm/llvm-project/pull/108332 Introduce sub-options for `AlignAfterOpenBracketBreak` to allow for control of `AlignAfterOpenBracket` with `AlwaysBreak` and `BlockIndent` selectively for `if` conditional statements (as currently supported), o

[clang] [clang-format] Add AlignAfterOpenBracketOptions (PR #108332)

2024-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Gedare Bloom (gedare) Changes Introduce sub-options for `AlignAfterOpenBracketBreak` to allow for control of `AlignAfterOpenBracket` with `AlwaysBreak` and `BlockIndent` selectively for `if` conditional statements (as currently supported)

[clang-tools-extra] [clang-tidy][readability-container-contains] Extend to any class with contains (PR #107521)

2024-09-11 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank updated https://github.com/llvm/llvm-project/pull/107521 >From 6fae5b43f1e9227ccd41f67dde66233de1b0ed7b Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Thu, 12 Sep 2024 01:48:02 -0400 Subject: [PATCH] [clang-tidy][readability-container-contains] Extend to any

[clang-tools-extra] [clang-tidy][readability-container-contains] Extend to any class with contains (PR #107521)

2024-09-11 Thread Nicolas van Kempen via cfe-commits
https://github.com/nicovank updated https://github.com/llvm/llvm-project/pull/107521 >From 6fae5b43f1e9227ccd41f67dde66233de1b0ed7b Mon Sep 17 00:00:00 2001 From: Nicolas van Kempen Date: Thu, 12 Sep 2024 01:48:02 -0400 Subject: [PATCH] [clang-tidy][readability-container-contains] Extend to any

[clang-tools-extra] [clang-tidy][readability-container-contains] Extend to any class with contains (PR #107521)

2024-09-11 Thread Nicolas van Kempen via cfe-commits
nicovank wrote: Update, now getting the same hits on llvm-project with/without type checking (553/553), a good indication no true positives are missed. https://github.com/llvm/llvm-project/pull/107521 ___ cfe-commits mailing list cfe-commits@lists.llv

[clang] [clang-format[NFC] Clean up FormatTestBase and Proto/TextProto tests (PR #108334)

2024-09-11 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/108334 None >From 556db4b4c5b727cd44aec39d16178720edf77942 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Wed, 11 Sep 2024 23:07:37 -0700 Subject: [PATCH] [clang-format[NFC] Clean up FormatTestBase and Proto/TextProto

[clang] [clang-format[NFC] Clean up FormatTestBase and Proto/TextProto tests (PR #108334)

2024-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/108334.diff 3 Files Affected: - (modified) clang/unittests/Format/FormatTestBase.h (+7-7) - (modified) clang/unittests/Format/FormatTestProto.cp

<    1   2   3   4   5   6