[clang-tools-extra] f3db1aa - MakeUniqueCheck.cpp: explicit the fact that there is an autofix for this checker

Sylvestre Ledru via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 10 13:08:41 PST 2020


Author: Sylvestre Ledru
Date: 2020-01-10T22:06:03+01:00
New Revision: f3db1aad2796c62f0d188a74f2901c18e51843c2

URL: https://github.com/llvm/llvm-project/commit/f3db1aad2796c62f0d188a74f2901c18e51843c2
DIFF: https://github.com/llvm/llvm-project/commit/f3db1aad2796c62f0d188a74f2901c18e51843c2.diff

LOG: MakeUniqueCheck.cpp: explicit the fact that there is an autofix for this checker

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp b/clang-tools-extra/clang-tidy/modernize/MakeUniqueCheck.cpp
index 1ee4fd701d8c..e2f812b35aea 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


        


More information about the cfe-commits mailing list