Skip to content

Commit

Permalink
[clang][Interp][NFC] Remove unnecessary braces
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaederr committed Jan 28, 2024
1 parent b13d5df commit 70e2253
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang/lib/AST/Interp/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ bool Context::isPotentialConstantExpr(State &Parent, const FunctionDecl *FD) {
Func = ByteCodeStmtGen<ByteCodeEmitter>(*this, *P).compileFunc(FD);

APValue DummyResult;
if (!Run(Parent, Func, DummyResult)) {
if (!Run(Parent, Func, DummyResult))
return false;
}

return Func->isConstexpr();
}
Expand Down

0 comments on commit 70e2253

Please sign in to comment.