Fix a use of LLVM_FALLTHROUGH that wasn't even in a switch.
authorJustin Bogner <mail@justinbogner.com>
Wed, 17 Aug 2016 05:25:38 +0000 (05:25 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 17 Aug 2016 05:25:38 +0000 (05:25 +0000)
I was over-aggressive in my conversions from comments to the
fallthrough attribute.

llvm-svn: 278903

llvm/lib/TableGen/TGParser.cpp

index 978085ac81abce83853543558cfdccbc063ff9bd..34e90925e929dd6ae4e71b43ce080c53a50bcc9c 100644 (file)
@@ -1286,7 +1286,6 @@ 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());