aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-08-14 23:52:23 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-08-14 23:52:23 +0000
commit1c705d9c538d1d4a24f34e93be2582bc7e3a3da4 (patch)
tree924390752eb23cde6f2294d364f330ec18736f3c /clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
parent2b3d49b610bd2a45884115edcb21110bfa325f51 (diff)
downloadllvm-1c705d9c538d1d4a24f34e93be2582bc7e3a3da4.zip
llvm-1c705d9c538d1d4a24f34e93be2582bc7e3a3da4.tar.gz
llvm-1c705d9c538d1d4a24f34e93be2582bc7e3a3da4.tar.bz2
[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
Diffstat (limited to 'clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp b/clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
index cf66081..c5bbcdb 100644
--- a/clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
+++ b/clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
@@ -169,7 +169,7 @@ void UnnecessaryValueParamCheck::check(const MatchFinder::MatchResult &Result) {
void UnnecessaryValueParamCheck::registerPPCallbacks(
const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) {
- Inserter = llvm::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
+ Inserter = std::make_unique<utils::IncludeInserter>(SM, getLangOpts(),
IncludeStyle);
PP->addPPCallbacks(Inserter->CreatePPCallbacks());
}