[PATCH] D102251: Suppress Deferred Diagnostics in discarded statements.

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 12 12:08:08 PDT 2021


erichkeane 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
----------------
rsmith wrote:
> Maybe `shouldVisitDiscardedStmt` would be more obvious, since "discarded statement" is the standard terminology.
Yep, agreed.  I'll do that as a part of the commit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102251/new/

https://reviews.llvm.org/D102251



More information about the cfe-commits mailing list