1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix shadow variable warning with llvm::SrcMgr. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-09 17:01:32 +00:00
parent 1e612ca63a
commit 007e7fdf77

View File

@ -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.