Skip to content

Commit

Permalink
added undo command for repl
Browse files Browse the repository at this point in the history
  • Loading branch information
kr-2003 committed Mar 3, 2025
1 parent 17e9569 commit 650d762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/CppInterOpInterpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class Interpreter {
#else
if (llvm::Error Err = Undo(N)) {
llvm::logAllUnhandledErrors(std::move(Err), llvm::errs(),

Check warning on line 439 in lib/Interpreter/CppInterOpInterpreter.h

View check run for this annotation

Codecov / codecov/patch

lib/Interpreter/CppInterOpInterpreter.h#L439

Added line #L439 was not covered by tests
"Failed to undo via ::undo: or something");
"Failed to undo via ::undo");
return kFailure;

Check warning on line 441 in lib/Interpreter/CppInterOpInterpreter.h

View check run for this annotation

Codecov / codecov/patch

lib/Interpreter/CppInterOpInterpreter.h#L441

Added line #L441 was not covered by tests
}
return kSuccess;
Expand Down

0 comments on commit 650d762

Please sign in to comment.