[clang] [clang-repl] Refactor locking of runtime PTU stack (NFC) (PR #84176)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 6 10:24:14 PST 2024


Stefan =?utf-8?q?Gr=C3=A4nitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84176 at github.com>


================
@@ -137,9 +136,10 @@ class Interpreter {
 
   Expr *SynthesizeExpr(Expr *E);
 
-private:
   size_t getEffectivePTUSize() const;
+  void finalizeInitPTUStack();
----------------
vgvassilev wrote:

Maybe something like `markRestorePoint` or similar?

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


More information about the cfe-commits mailing list