Skip to content

Commit 1ef0d66

Browse files
committed
Fix unused variable warning. NFCI.
1 parent adeb8c5 commit 1ef0d66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3607,6 +3607,7 @@ static CompleteObject findCompleteObject(EvalInfo &Info, const Expr *E,
36073607
/// Nested immediate invocation have been previously removed so if we found
36083608
/// a ConstantExpr it can only be the EvaluatingDecl.
36093609
assert(CE->isImmediateInvocation() && CE == Info.EvaluatingDecl);
3610+
(void)CE;
36103611
BaseVal = Info.EvaluatingDeclValue;
36113612
} else if (const ValueDecl *D = LVal.Base.dyn_cast<const ValueDecl *>()) {
36123613
// In C++98, const, non-volatile integers initialized with ICEs are ICEs.

0 commit comments

Comments
 (0)