[clang] [CLANG] Enable alignas after GNU attributes (PR #133107)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 21 05:58:27 PDT 2025
================
@@ -24,7 +24,7 @@ int templateFunction(T value) __attribute__((annotate("works")));
// CHECK: ClassDecl=Test:3:7 (Definition) Extent=[3:1 - 17:2]
// CHECK-NEXT: CXXAccessSpecifier=:4:1 (Definition) Extent=[4:1 - 4:8]
-// CHECK-NEXT: CXXMethod=aMethod:5:51 Extent=[5:3 - 5:60]
+// CHECK-NEXT: CXXMethod=aMethod:5:51 Extent=[5:46 - 5:60]
----------------
AaronBallman wrote:
I'm on the fence. It's not the worst regression in behavior, but it does make the diagnostic slightly harder for users to reason about. WDYT @erichkeane ?
https://github.com/llvm/llvm-project/pull/133107
More information about the cfe-commits
mailing list