OSDN Git Service

[TableGen] Remove unused declaration that caused build failures.
authorPaul C. Anagnostopoulos <paul@windfall.com>
Fri, 8 Jan 2021 15:10:05 +0000 (10:10 -0500)
committerPaul C. Anagnostopoulos <paul@windfall.com>
Fri, 8 Jan 2021 15:10:54 +0000 (10:10 -0500)
llvm/lib/TableGen/TGParser.cpp

index 9f3c69b..b0eecd5 100644 (file)
@@ -3184,7 +3184,6 @@ bool TGParser::ParseIfBody(MultiClass *CurMultiClass, StringRef Kind) {
 ///
 ///   Assert ::= ASSERT condition , message ;
 bool TGParser::ParseAssert(MultiClass *CurMultiClass, Record *CurRec) {
-  SMLoc Loc = Lex.getLoc();
   assert(Lex.getCode() == tgtok::Assert && "Unknown tok");
   Lex.Lex(); // Eat the 'assert' token.