[PATCH] D77611: [Sema] fix -Wunused-result in StmtExpr
Nick Desaulniers via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 14:43:35 PDT 2020
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Sema/SemaStmt.cpp:252
+ // CallExprs below.
+ if (isa<StmtExpr>(E) && Loc.isMacroID() && !isa<CallExpr>(WarnExpr))
return;
----------------
sigh, this again produces different from GCC for the kernel. Let me tighten this constraint up further.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77611/new/
https://reviews.llvm.org/D77611
More information about the cfe-commits
mailing list