diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-11-30 00:31:49 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-11-30 00:31:49 +0000 |
commit | ffbbd53f592c8758356eec1d84becd4b3e1ad304 (patch) | |
tree | 24091944ebe8285dfe97315a138d5767684639a4 /llvm/lib/TableGen/TGParser.cpp | |
parent | b9a6eaac0c885093f2709c26a3f1bc8833524b96 (diff) | |
download | bcm5719-llvm-ffbbd53f592c8758356eec1d84becd4b3e1ad304.tar.gz bcm5719-llvm-ffbbd53f592c8758356eec1d84becd4b3e1ad304.zip |
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?
llvm-svn: 222968
Diffstat (limited to 'llvm/lib/TableGen/TGParser.cpp')
-rw-r--r-- | llvm/lib/TableGen/TGParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp index cef7f96b24c..d0c50d99aab 100644 --- a/llvm/lib/TableGen/TGParser.cpp +++ b/llvm/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<Record>(Lex.getCurStrVal(), Lex.getLoc(), - Records); + auto NewRec = + llvm::make_unique<Record>(Lex.getCurStrVal(), Lex.getLoc(), Records); CurRec = NewRec.get(); Records.addClass(std::move(NewRec)); } |