Skip to content

Commit 5b807a1

Browse files
authored
Update SemaExprCXX.cpp
1 parent 8aea4bd commit 5b807a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Sema/SemaExprCXX.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8837,9 +8837,8 @@ ExprResult Sema::ActOnFinishFullExpr(Expr *FE, SourceLocation CC,
88378837
FullExpr = IgnoredValueConversions(FullExpr.get());
88388838
if (FullExpr.isInvalid())
88398839
return ExprError();
8840-
#ifndef _WIN32
8840+
88418841
DiagnoseUnusedExprResult(FullExpr.get(), diag::warn_unused_expr);
8842-
#endif
88438842
}
88448843

88458844
FullExpr = CorrectDelayedTyposInExpr(FullExpr.get(), /*InitDecl=*/nullptr,

0 commit comments

Comments
 (0)