[PATCH] D102251: Suppress Deferred Diagnostics in discarded statements.
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 12 11:08:34 PDT 2021
rsmith accepted this revision.
rsmith added inline comments.
================
Comment at: clang/include/clang/AST/EvaluatedExprVisitor.h:37
+ // 'constexpr-if'.
+ bool shouldVisitDiscardedCase() const { return true; }
#define PTR(CLASS) typename Ptr<CLASS>::type
----------------
Maybe `shouldVisitDiscardedStmt` would be more obvious, since "discarded statement" is the standard terminology.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102251/new/
https://reviews.llvm.org/D102251
More information about the cfe-commits
mailing list