diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-08-17 05:10:15 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-08-17 05:10:15 +0000 |
commit | b03fd12cef8ddbac2442e89486293880c6ccf90f (patch) | |
tree | 26b1e88a177edc22e2c82ba41273a9124e36e888 /llvm/lib/TableGen/TGParser.cpp | |
parent | 0dace2d3a1135b4e9b44a23076f9565e7186e99b (diff) | |
download | llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.zip llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.gz llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
-rw-r--r-- | llvm/lib/TableGen/TGParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp index 34e9092..978085a 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()); |