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
+ "' already defined");
} else {
// If this is the first reference to this class, create and add it.
+ "' 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));
}
CurRec = NewRec.get();
Records.addClass(std::move(NewRec));
}