[PATCH] D140724: [clang][Interp] Add back Run() call

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 13:45:11 PST 2023


shafik added inline comments.


================
Comment at: clang/lib/AST/Interp/Interp.h:1301
   assert(S.Current->getFunction()->hasRVO());
+  if (S.checkingPotentialConstantExpression())
+    return false;
----------------
Why did you add these checks calling `checkingPotentialConstantExpression` for?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140724/new/

https://reviews.llvm.org/D140724



More information about the cfe-commits mailing list