[clang] [clang-format] Google Style: disable DerivePointerAlignment. (PR #149602)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 18 22:28:22 PDT 2025


================
@@ -12891,27 +12892,30 @@ TEST_F(FormatTest, UnderstandsEllipsis) {
 }
 
 TEST_F(FormatTest, AdaptivelyFormatsPointersAndReferences) {
+  FormatStyle Style = getLLVMStyle();
----------------
owenca wrote:

```suggestion
  auto Style = getGoogleStyle();
  ASSERT_FALSE(Style.DerivePointerAlignment);
```

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


More information about the cfe-commits mailing list