mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Replace "fallthrough" comments with LLVM_FALLTHROUGH
This is a mechanical change of comments in switches like fallthrough, fall-through, or fall-thru to use the LLVM_FALLTHROUGH macro instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2271,7 +2271,7 @@ std::error_code BitcodeReader::parseMetadata(bool ModuleLevel) {
|
||||
}
|
||||
case bitc::METADATA_DISTINCT_NODE:
|
||||
IsDistinct = true;
|
||||
// fallthrough...
|
||||
LLVM_FALLTHROUGH;
|
||||
case bitc::METADATA_NODE: {
|
||||
SmallVector<Metadata *, 8> Elts;
|
||||
Elts.reserve(Record.size());
|
||||
@@ -3355,7 +3355,7 @@ std::error_code BitcodeReader::parseUseLists() {
|
||||
break;
|
||||
case bitc::USELIST_CODE_BB:
|
||||
IsBB = true;
|
||||
// fallthrough
|
||||
LLVM_FALLTHROUGH;
|
||||
case bitc::USELIST_CODE_DEFAULT: {
|
||||
unsigned RecordLength = Record.size();
|
||||
if (RecordLength < 3)
|
||||
|
||||
Reference in New Issue
Block a user