[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 11:13:43 PST 2023


================
@@ -6226,6 +6226,15 @@ ExprResult Sema::CheckConvertedConstantExpression(Expr *From, QualType T,
   return R;
 }
 
+ExprResult Sema::EvaluateConvertedConstantExpression(Expr *E, QualType T,
+                                                     APValue &Value,
+                                                     Sema::CCEKind CCE,
+                                                     bool RequireInt) {
+
+  APValue PreNarrowingValue;
----------------
cor3ntin wrote:

After offline, i changed it. Let me know if that makes you happier.

https://github.com/llvm/llvm-project/pull/73103


More information about the cfe-commits mailing list