================
@@ -3349,6 +3360,230 @@ static QualType builtinCommonTypeImpl(Sema &S,
ElaboratedTypeKeyword Keyword,
}
}
+static QualType CopyCV(QualType From, QualType To) {
+ if (From.isConstQualified())
+ To.addConst();
+ if (From.isVolatileQualified())
+ To.addVolatile();
+ return To;
+}
+
+// COND-RES(X, Y) be decltype(false ? declval<X(&)()>()() :
declval<Y(&)()>()())
----------------
philnik777 wrote:
What exactly do you want? I'm quoting the standard here, just like everywhere
else.
https://github.com/llvm/llvm-project/pull/121199
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits