================
@@ -20975,6 +20973,14 @@ bool Sema::IsValueInFlagEnum(const EnumDecl *ED, const
llvm::APInt &Val,
FlagBits = FlagBits.zext(EVal.getBitWidth()) | EVal;
}
}
+}
----------------
Sirraide wrote:
Does TreeTransform call `ActOnEnumBody()` as well? If not, then I don’t believe
doing this in the ActOn function is correct since if we instantiate an enum, we
have to perform this step too
https://github.com/llvm/llvm-project/pull/210632
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits