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

James Y Knight via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 21 08:02:11 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());
----------------
jyknight wrote:

Done

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


More information about the cfe-commits mailing list