diff --git a/lib/TableGen/TGParser.cpp b/lib/TableGen/TGParser.cpp index cef7f96b24c..d0c50d99aab 100644 --- a/lib/TableGen/TGParser.cpp +++ b/lib/TableGen/TGParser.cpp @@ -2169,8 +2169,8 @@ bool TGParser::ParseClass() { + "' already defined"); } else { // If this is the first reference to this class, create and add it. - auto NewRec = make_unique(Lex.getCurStrVal(), Lex.getLoc(), - Records); + auto NewRec = + llvm::make_unique(Lex.getCurStrVal(), Lex.getLoc(), Records); CurRec = NewRec.get(); Records.addClass(std::move(NewRec)); }