From e1e5343d13939d35f3d254b90db92ad4653a0bc4 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Sun, 30 Nov 2014 00:31:49 +0000 Subject: [PATCH] Qualify one more make_unique call. The previous patch had effect, but missed this one. It seems MSVC gets ADL-confused by the calls where the first argument is a function call? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222968 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/TableGen/TGParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } -- 2.34.1