From 1c705d9c538d1d4a24f34e93be2582bc7e3a3da4 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 14 Aug 2019 23:52:23 +0000 Subject: [clang-tools-extra] Migrate llvm::make_unique to std::make_unique Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of (hopefully) all the llvm::make_unique instances across the monorepo. Differential revision: https://reviews.llvm.org/D66259 llvm-svn: 368944 --- clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp') diff --git a/clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp b/clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp index a894c5815fe..009a5a6377f 100644 --- a/clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp +++ b/clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp @@ -53,7 +53,7 @@ private: void IncludeOrderCheck::registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) { - PP->addPPCallbacks(::llvm::make_unique(*this, SM)); + PP->addPPCallbacks(::std::make_unique(*this, SM)); } static int getPriority(StringRef Filename, bool IsAngled, bool IsMainModule) { -- cgit v1.2.3