Skip to content

Commit 5d6c208

Browse files
committed
minor changes
1 parent fef5b99 commit 5d6c208

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,13 @@ Interpreter::create(std::unique_ptr<CompilerInstance> CI,
489489
Interp->DeviceParser = std::move(DeviceParser);
490490
}
491491

492-
// Add runtime code and set a marker to hide it from user code.
492+
// Add runtime code and set a marker to hide it from user code. Undo will not
493+
// go through that.
493494
auto PTU = Interp->Parse(Runtimes);
494495
if (!PTU)
495496
return PTU.takeError();
496497
Interp->markUserCodeStart();
498+
497499
Interp->ValuePrintingInfo.resize(4);
498500
return std::move(Interp);
499501
}

0 commit comments

Comments
 (0)