We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 046549f commit 16aa6efCopy full SHA for 16aa6ef
clang/lib/Interpreter/IncrementalAction.cpp
@@ -136,8 +136,7 @@ bool InProcessPrintingASTConsumer::HandleTopLevelDecl(DeclGroupRef DGR) {
136
for (Decl *D : DGR)
137
if (auto *TLSD = llvm::dyn_cast<TopLevelStmtDecl>(D))
138
if (TLSD && TLSD->isSemiMissing()) {
139
- auto ExprOrErr =
140
- Interp.convertExprToValue(cast<Expr>(TLSD->getStmt()));
+ auto ExprOrErr = Interp.convertExprToValue(cast<Expr>(TLSD->getStmt()));
141
if (llvm::Error E = ExprOrErr.takeError()) {
142
llvm::logAllUnhandledErrors(std::move(E), llvm::errs(),
143
"Value printing failed: ");
0 commit comments