From a5a4bb69c16f55b7c7dc526c813d5218a824dbfa Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Mon, 25 Mar 2019 09:53:19 +0000 Subject: [PATCH] Add llvm:: qualifer to make_unique, NFC To avoid potential "make_unique is ambiguous" compiler errors. llvm-svn: 356878 --- clang-tools-extra/pp-trace/PPTrace.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang-tools-extra/pp-trace/PPTrace.cpp b/clang-tools-extra/pp-trace/PPTrace.cpp index f7dcf86..499111e 100644 --- a/clang-tools-extra/pp-trace/PPTrace.cpp +++ b/clang-tools-extra/pp-trace/PPTrace.cpp @@ -85,8 +85,8 @@ protected: StringRef InFile) override { Preprocessor &PP = CI.getPreprocessor(); PP.addPPCallbacks( - make_unique(Filters, CallbackCalls, PP)); - return make_unique(); + llvm::make_unique(Filters, CallbackCalls, PP)); + return llvm::make_unique(); } void EndSourceFileAction() override { @@ -151,7 +151,7 @@ int main(int argc, const char **argv) { error(EC.message()); if (Error Err = Exec->get()->execute( - make_unique(Filters, Out.os()))) + llvm::make_unique(Filters, Out.os()))) error(toString(std::move(Err))); Out.keep(); return 0; -- 2.7.4