Skip to content

Commit 243331f

Browse files
committed
Introduce new Value class design, inspired by APValue
1 parent d540221 commit 243331f

File tree

7 files changed

+710
-613
lines changed

7 files changed

+710
-613
lines changed

clang/include/clang/Interpreter/Interpreter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class Interpreter {
182182

183183
llvm::Expected<PartialTranslationUnit &> Parse(llvm::StringRef Code);
184184
llvm::Error Execute(PartialTranslationUnit &T);
185-
llvm::Error ParseAndExecute(llvm::StringRef Code);
185+
llvm::Error ParseAndExecute(llvm::StringRef Code, Value *V = nullptr);
186186

187187
/// Undo N previous incremental inputs.
188188
llvm::Error Undo(unsigned N = 1);

0 commit comments

Comments
 (0)