[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


================
@@ -12287,6 +12287,7 @@ TEST_F(FormatTest, UnderstandsUsesOfStarAndAmp) {
       "    aaaaaaaaaaaaaaaaaaaaaaaaaaaa, *aaaaaaaaaaaaaaaaaaaaaaaaaaaaa);");
 
   verifyGoogleFormat("int const* a = &b;");
+  verifyFormat("int const* a = &b;", "int const *a = &b;", getGoogleStyle());
----------------
owenca wrote:

We don't need a new test case IMO.

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


More information about the cfe-commits mailing list