From b03fd12cef8ddbac2442e89486293880c6ccf90f Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 17 Aug 2016 05:10:15 +0000 Subject: 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 --- llvm/lib/TableGen/TGParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/TableGen/TGParser.cpp') diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp index 34e90925e92..978085ac81a 100644 --- a/llvm/lib/TableGen/TGParser.cpp +++ b/llvm/lib/TableGen/TGParser.cpp @@ -1286,6 +1286,7 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType, continue; } // Fallthrough to try convert this to a bit. + LLVM_FALLTHROUGH; } // All other values must be convertible to just a single bit. Init *Bit = Vals[i]->convertInitializerTo(BitRecTy::get()); -- cgit v1.2.3