[llvm] r336331 - Try to fix -Wimplicit-fallthrough warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 5 02:48:01 PDT 2018


Author: rksimon
Date: Thu Jul  5 02:48:01 2018
New Revision: 336331

URL: http://llvm.org/viewvc/llvm-project?rev=336331&view=rev
Log:
Try to fix -Wimplicit-fallthrough warning. NFCI.

Modified:
    llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Modified: llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp?rev=336331&r1=336330&r2=336331&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp Thu Jul  5 02:48:01 2018
@@ -3865,6 +3865,7 @@ bool AArch64AsmParser::showMatchError(SM
     case RegConstraintEqualityTy::EqualsReg:
       return Error(Loc, "operand must match destination register");
     }
+    llvm_unreachable("Unknown RegConstraintEqualityTy");
   }
   case Match_MissingFeature:
     return Error(Loc,




More information about the llvm-commits mailing list