[clang] [Clang] Properly parse enumeration declarations with fixed underlying type in generic associations (PR #210353)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 07:58:12 PDT 2026
================
@@ -290,6 +290,21 @@ namespace clang {
}
};
+ class GenericAssociationTypeRAIIObject {
+ Parser &P;
+ bool OldVal;
+
+ public:
+ GenericAssociationTypeRAIIObject(Parser &p, bool Value = true)
+ : P(p), OldVal(P.ParsingGenericAssociationType) {
----------------
AaronBallman wrote:
```suggestion
GenericAssociationTypeRAIIObject(Parser &P, bool Value = true)
: P(P), OldVal(P.ParsingGenericAssociationType) {
```
https://github.com/llvm/llvm-project/pull/210353
More information about the cfe-commits
mailing list