projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03fd12
)
Fix a use of LLVM_FALLTHROUGH that wasn't even in a switch.
author
Justin Bogner
<mail@justinbogner.com>
Wed, 17 Aug 2016 05:25:38 +0000
(
05:25
+0000)
committer
Justin 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
patch
|
blob
|
history
diff --git
a/llvm/lib/TableGen/TGParser.cpp
b/llvm/lib/TableGen/TGParser.cpp
index 978085ac81abce83853543558cfdccbc063ff9bd..34e90925e929dd6ae4e71b43ce080c53a50bcc9c 100644
(file)
--- 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());