[llvm] r359988 - [LLParser] Remove unused variable after r359987. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun May 5 10:46:17 PDT 2019


Author: ctopper
Date: Sun May  5 10:46:17 2019
New Revision: 359988

URL: http://llvm.org/viewvc/llvm-project?rev=359988&view=rev
Log:
[LLParser] Remove unused variable after r359987. NFC

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=359988&r1=359987&r2=359988&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Sun May  5 10:46:17 2019
@@ -3370,7 +3370,6 @@ bool LLParser::ParseValID(ValID &ID, Per
     unsigned Opc = Lex.getUIntVal();
     Constant *Val0, *Val1;
     Lex.Lex();
-    LocTy ModifierLoc = Lex.getLoc();
     if (Opc == Instruction::Add || Opc == Instruction::Sub ||
         Opc == Instruction::Mul || Opc == Instruction::Shl) {
       if (EatIfPresent(lltok::kw_nuw))




More information about the llvm-commits mailing list