aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-17 05:10:15 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-17 05:10:15 +0000
commitb03fd12cef8ddbac2442e89486293880c6ccf90f (patch)
tree26b1e88a177edc22e2c82ba41273a9124e36e888 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0dace2d3a1135b4e9b44a23076f9565e7186e99b (diff)
downloadllvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.zip
llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.gz
llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.bz2
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. llvm-svn: 278902
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 3084410..e8ca730 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -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)