forked from OSchip/llvm-project
Add an explicit `LLVM_FALLTHROUGH` annotation to an intentional
fallthrough. Fixes GCC and Clang warnings about this. llvm-svn: 321392
This commit is contained in:
parent
afeae77058
commit
f10cc02591
|
@ -3143,6 +3143,7 @@ static void warnAboutRedundantParens(Sema &S, Declarator &D, QualType T) {
|
|||
case DeclaratorChunk::Paren:
|
||||
if (&C == &Paren)
|
||||
continue;
|
||||
LLVM_FALLTHROUGH;
|
||||
case DeclaratorChunk::Pointer:
|
||||
StartsWithDeclaratorId = false;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue