================
@@ -320,6 +320,11 @@ bool isQualificationConvertiblePointer(QualType From, 
QualType To,
 } // namespace
 
 static bool canThrow(const FunctionDecl *Func) {
+  // consteval specifies every call to the function must produce a compile-time
+  // constant. compile-time constant cannot be evaluate a throw expression.
----------------
5chmidti wrote:

> // consteval specifies that every call to the function must produce a 
> compile-time
// constant, which cannot evaluate a throw expression without producing a 
compilation error.

https://github.com/llvm/llvm-project/pull/116643
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to