summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2020-01-10 18:48:03 +0100
committerSylvestre Ledru <sylvestre@debian.org>2020-01-10 22:06:03 +0100
commitf3db1aad2796c62f0d188a74f2901c18e51843c2 (patch)
treef8a63e9be5bfec212aab16cd54d10b642f677674 /clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
parent4ffcec40acebae7161ac7426edc68290bbaca2b8 (diff)
downloadbcm5719-llvm-f3db1aad2796c62f0d188a74f2901c18e51843c2.tar.gz
bcm5719-llvm-f3db1aad2796c62f0d188a74f2901c18e51843c2.zip
MakeUniqueCheck.cpp: explicit the fact that there is an autofix for this checker
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp b/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
index 1ee4fd701d8..e2f812b35ae 100644
--- a/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
+++ b/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
@@ -41,6 +41,8 @@ bool MakeUniqueCheck::isLanguageVersionSupported(
return RequireCPlusPlus14 ? LangOpts.CPlusPlus14 : LangOpts.CPlusPlus11;
}
+// FixItHint is done by MakeSmartPtrCheck
+
} // namespace modernize
} // namespace tidy
} // namespace clang
OpenPOWER on IntegriCloud