================ @@ -186,14 +186,14 @@ class AttributeCommonInfo { bool isGNUScope() const; bool isClangScope() const; - bool isCXX11Attribute() const { return SyntaxUsed == AS_CXX11 || IsAlignas; } - + bool isAlignas() const { return IsAlignas; } + bool isCXX11Attribute() const { return SyntaxUsed == AS_CXX11; } ---------------- erichkeane wrote:
I can see this both ways. It is typically used AFAIK as a 'is this a C++ spelling' despite not exactly meaning that. On the other hand, as Aaron mentions, this is changing its meaning fairly significantly. I'm still on the fence here. 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