aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TableGen/TGParser.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-08-17 05:25:38 +0000
committerJustin Bogner <mail@justinbogner.com>2016-08-17 05:25:38 +0000
commit14f383e9c4b776d415cbc66902d8492dbcc0c0e1 (patch)
tree498be3770a9879d9791fd79f1d25fbfd7c5aba76 /llvm/lib/TableGen/TGParser.cpp
parentb03fd12cef8ddbac2442e89486293880c6ccf90f (diff)
downloadllvm-14f383e9c4b776d415cbc66902d8492dbcc0c0e1.zip
llvm-14f383e9c4b776d415cbc66902d8492dbcc0c0e1.tar.gz
llvm-14f383e9c4b776d415cbc66902d8492dbcc0c0e1.tar.bz2
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. llvm-svn: 278903
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
-rw-r--r--llvm/lib/TableGen/TGParser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index 978085a..34e9092 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -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());