Author: Paul C. Anagnostopoulos
Date: 2021-01-08T10:10:54-05:00
New Revision: d4f2fef7464eb2b8c2126c5b733eeb76ed9820f6

URL: 
https://github.com/llvm/llvm-project/commit/d4f2fef7464eb2b8c2126c5b733eeb76ed9820f6
DIFF: 
https://github.com/llvm/llvm-project/commit/d4f2fef7464eb2b8c2126c5b733eeb76ed9820f6.diff

LOG: [TableGen] Remove unused declaration that caused build failures.

Added: 
    

Modified: 
    llvm/lib/TableGen/TGParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index 9f3c69bab89e0..b0eecd5abdf5d 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -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.
 


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to