[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änitz?= <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:
----------------
vgvassilev wrote:

We can befriend the test to the interpreter. Alternatively, we probably have a second option to make this `protected:` and have a derived class on the test side to access this. 

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


More information about the cfe-commits mailing list