diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2017-06-01 21:29:45 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2017-06-01 21:29:45 +0000 |
commit | 53ab424c0bc1e7ece1da9e67633140d5cdefceca (patch) | |
tree | d3ab38ef9fff7030f024a717cae5a7b508b3b048 /clang | |
parent | de1b318dad331cb07d55d232543bb61ae67ce210 (diff) | |
download | bcm5719-llvm-53ab424c0bc1e7ece1da9e67633140d5cdefceca.tar.gz bcm5719-llvm-53ab424c0bc1e7ece1da9e67633140d5cdefceca.zip |
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304481
Diffstat (limited to 'clang')
-rw-r--r-- | clang/lib/Parse/ParseTentative.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseTentative.cpp b/clang/lib/Parse/ParseTentative.cpp index 0d783131dd6..d6684c39aa7 100644 --- a/clang/lib/Parse/ParseTentative.cpp +++ b/clang/lib/Parse/ParseTentative.cpp @@ -1450,6 +1450,7 @@ Parser::isCXXDeclarationSpecifier(Parser::TPResult BracedCastResult, return TPResult::False; } // If that succeeded, fallthrough into the generic simple-type-id case. + LLVM_FALLTHROUGH; // The ambiguity resides in a simple-type-specifier/typename-specifier // followed by a '('. The '(' could either be the start of: @@ -1492,6 +1493,7 @@ Parser::isCXXDeclarationSpecifier(Parser::TPResult BracedCastResult, return TPResult::True; } + LLVM_FALLTHROUGH; case tok::kw_char: case tok::kw_wchar_t: |