[clang] [Clang] Instantiate functions from constant evaluation. (PR #205557)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 07:18:42 PDT 2026


================
@@ -15811,6 +15813,30 @@ class Sema final : public SemaBase {
   void performFunctionEffectAnalysis(TranslationUnitDecl *TU);
 
   ///@}
+
+  //
+  //
+  // -------------------------------------------------------------------------
+  //
+  //
+
+  /// \name Language-Mandated Constant Evaluation
+  /// Implementations are in SemaEval.cpp
----------------
cor3ntin wrote:

That comment does not appear to be correct. Maybe just `SemaProxyImpl implements the `SemaProxy` interface in SemaEval.cpp (which really should be called SemaProxy,cpp).
There is no evaluation in there, just wrappers over Sema functions

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


More information about the cfe-commits mailing list