================
@@ -361,8 +367,19 @@ int main(int argc, const char **argv) {
bool HasError = false;
+ auto ProcessInput = [&](llvm::StringRef Input) -> llvm::Error {
+ if (!EmitLLVMIR)
+ return Interp->ParseAndExecute(Input);
+ auto PTU = Interp->Parse(Input);
----------------
aaronj0 wrote:
Right, addressed by your following comment this is now taken care of when
`ParseAndExecute` is called
https://github.com/llvm/llvm-project/pull/217870
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits