[llvm] LLVM_FALLTHROUGH => [[fallthrough]]. NFC

With C++17 there is no Clang pedantic warning or MSVC C5051.
This commit is contained in:
Fangrui Song committed 2022-08-08 11:24:15 -07:00
1 parent 09db7f5331
commit de9d80c1c5
208 files changed
+686 -686

No files matched your search

+1 -1
View File
@@ -3445,7 +3445,7 @@ Error BitcodeReader::parseUseLists() {
break;
case bitc::USELIST_CODE_BB:
IsBB = true;
LLVM_FALLTHROUGH;
[[fallthrough]];
case bitc::USELIST_CODE_DEFAULT: {
unsigned RecordLength = Record.size();
if (RecordLength < 3)