]> granicus.if.org Git - clang/commit
[Attr] Support _attribute__ ((fallthrough))
authorNathan Huckleberry <nhuck@google.com>
Tue, 20 Aug 2019 17:16:49 +0000 (17:16 +0000)
committerNathan Huckleberry <nhuck@google.com>
Tue, 20 Aug 2019 17:16:49 +0000 (17:16 +0000)
commit30eb43757f02826df8300d17e2c5ffa1e43e435d
tree7be1157012bea3e366269f4d717cb97893000db3
parentbbd15f7e03db6a69820db614bbb0d527f6fbe8fb
[Attr] Support _attribute__ ((fallthrough))

Summary: Fixed extraneous matches of non-NullStmt

Reviewers: aaron.ballman, rsmith, efriedma, xbolva00

Reviewed By: aaron.ballman, rsmith, xbolva00

Subscribers: riccibruno, arphaman, ziangwan, ojeda, xbolva00, nickdesaulniers, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64838

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369414 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Parse/Parser.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseStmt.cpp
lib/Sema/AnalysisBasedWarnings.cpp
test/Sema/fallthrough-attr.c [new file with mode: 0644]
test/SemaCXX/switch-implicit-fallthrough.cpp
test/SemaCXX/warn-unused-label-error.cpp