Skip to content

Commit

Permalink
Fix shadow variable warning with llvm::SrcMgr. NFCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Nov 9, 2019
1 parent 7f8488e commit 3c37981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/TableGen/TGParser.h
Expand Up @@ -114,9 +114,9 @@ class TGParser {
};

public:
TGParser(SourceMgr &SrcMgr, ArrayRef<std::string> Macros,
TGParser(SourceMgr &SM, ArrayRef<std::string> Macros,
RecordKeeper &records)
: Lex(SrcMgr, Macros), CurMultiClass(nullptr), Records(records) {}
: Lex(SM, Macros), CurMultiClass(nullptr), Records(records) {}

/// ParseFile - Main entrypoint for parsing a tblgen file. These parser
/// routines return true on error, or false on success.
Expand Down

0 comments on commit 3c37981

Please sign in to comment.