[llvm] r307396 - [Lanai] Fix -Wimplicit-fallthrough warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 06:22:47 PDT 2017
Author: rksimon
Date: Fri Jul 7 06:22:47 2017
New Revision: 307396
URL: http://llvm.org/viewvc/llvm-project?rev=307396&view=rev
Log:
[Lanai] Fix -Wimplicit-fallthrough warning. NFCI.
Modified:
llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
Modified: llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp?rev=307396&r1=307395&r2=307396&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp Fri Jul 7 06:22:47 2017
@@ -787,6 +787,7 @@ std::unique_ptr<LanaiOperand> LanaiAsmPa
case AsmToken::Dot:
if (!Parser.parseExpression(ExprVal))
return LanaiOperand::createImm(ExprVal, Start, End);
+ LLVM_FALLTHROUGH;
default:
return nullptr;
}
More information about the llvm-commits
mailing list