[llvm] r278903 - Fix a use of LLVM_FALLTHROUGH that wasn't even in a switch.

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 22:25:39 PDT 2016


Author: bogner
Date: Wed Aug 17 00:25:38 2016
New Revision: 278903

URL: http://llvm.org/viewvc/llvm-project?rev=278903&view=rev
Log:
Fix a use of LLVM_FALLTHROUGH that wasn't even in a switch.

I was over-aggressive in my conversions from comments to the
fallthrough attribute.

Modified:
    llvm/trunk/lib/TableGen/TGParser.cpp

Modified: llvm/trunk/lib/TableGen/TGParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGParser.cpp?rev=278903&r1=278902&r2=278903&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TGParser.cpp (original)
+++ llvm/trunk/lib/TableGen/TGParser.cpp Wed Aug 17 00:25:38 2016
@@ -1286,7 +1286,6 @@ Init *TGParser::ParseSimpleValue(Record
           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());




More information about the llvm-commits mailing list