================
@@ -263,6 +263,14 @@ namespace {
}
}
+QualType Expr::getEnumCoercedType(const ASTContext &Ctx) const {
+ if (isa<EnumType>(this->getType()))
+ return this->getType();
+ else if (const EnumConstantDecl *ECD = this->getEnumConstantDecl())
----------------
Kupa-Martin wrote:done https://github.com/llvm/llvm-project/pull/81418 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
