[PATCH] D102251: Suppress Deferred Diagnostics in discarded statements.
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 12 07:08:07 PDT 2021
erichkeane updated this revision to Diff 344813.
erichkeane added a comment.
Moved `IfStmt`/discarded case logic to ExprEvaluatorBase per @rsmith 's suggestion. This is the 'highest' in the tree that has a `Sema`/`ASTContext` reference, so anything 'higher' in the tree would be higher touch. @rsmith: WDYT?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102251/new/
https://reviews.llvm.org/D102251
Files:
clang/include/clang/AST/EvaluatedExprVisitor.h
clang/include/clang/AST/Stmt.h
clang/lib/AST/Stmt.cpp
clang/lib/Sema/Sema.cpp
clang/test/SemaCUDA/deferred-diags.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102251.344813.patch
Type: text/x-patch
Size: 5271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210512/42edee25/attachment.bin>
More information about the cfe-commits
mailing list