================
@@ -192,6 +192,13 @@ class AttributeCommonInfo {
 
   bool isC23Attribute() const { return SyntaxUsed == AS_C23; }
 
+  bool isAlignas() const {
+    // In the current state of code, IsAlignas is only configured to return
----------------
AaronBallman wrote:

How about:
```
// FIXME: In the current state, the IsAlignas member variable is only true with 
the C++
// `alignas` keyword but not `_Alignas`. The following expression works around 
the
// otherwise lost information so it will return true for `alignas` or 
`_Alignas` while still
// returning false for things like `__attribute__((aligned))`.
```

https://github.com/llvm/llvm-project/pull/65638
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to