================
@@ -1146,12 +1146,27 @@ static bool argTypeIsABIEquivalent(QualType SrcType,
QualType DestType,
if (SrcType->isPointerType() && DestType->isPointerType())
return true;
+ bool SrcIntOrEnum =
+ SrcType->isIntegralType(Context) || SrcType->isEnumeralType();
+ bool DstIntOrEnum =
+ DestType->isIntegralType(Context) || DestType->isEnumeralType();
+
----------------
AaronBallman wrote:
`isIntegralOrEnumerationType()` instead?
https://github.com/llvm/llvm-project/pull/203955
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits