[llvm-branch-commits] [llvm] d4f2fef - [TableGen] Remove unused declaration that caused build failures.

Paul C. Anagnostopoulos via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 8 07:16:33 PST 2021


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.
 


        


More information about the llvm-branch-commits mailing list