[PATCH] D111570: [clang/CFG] Don't explicitly add AttributedStmtClass to AlwaysAddList
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 12 10:29:36 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2cc42758a9d8: [clang/CFG] Don't explicitly add AttributedStmtClass to AlwaysAddList (authored by thakis).
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111570/new/
https://reviews.llvm.org/D111570
Files:
clang/lib/Sema/AnalysisBasedWarnings.cpp
Index: clang/lib/Sema/AnalysisBasedWarnings.cpp
===================================================================
--- clang/lib/Sema/AnalysisBasedWarnings.cpp
+++ clang/lib/Sema/AnalysisBasedWarnings.cpp
@@ -2272,8 +2272,7 @@
.setAlwaysAdd(Stmt::CStyleCastExprClass)
.setAlwaysAdd(Stmt::DeclRefExprClass)
.setAlwaysAdd(Stmt::ImplicitCastExprClass)
- .setAlwaysAdd(Stmt::UnaryOperatorClass)
- .setAlwaysAdd(Stmt::AttributedStmtClass);
+ .setAlwaysAdd(Stmt::UnaryOperatorClass);
}
// Install the logical handler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111570.379100.patch
Type: text/x-patch
Size: 557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211012/f9b88f76/attachment.bin>
More information about the cfe-commits
mailing list