llvm-project/clang-tools-extra/clang-tidy/modernize
Piotr Padlewski d57be707b8 [clang-tidy] modernize-make-{smart_ptr} private ctor bugfix
Summary:
Bugfix for 27321. When the constructor of stored pointer
type is private then it is invalid to change it to
make_shared or make_unique.

Reviewers: alexfh, aaron.ballman, hokein

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D23343

llvm-svn: 280180
2016-08-31 00:06:55 +00:00
..
AvoidBindCheck.cpp [clang-tidy] Adds modernize-avoid-bind check 2016-05-12 20:06:04 +00:00
AvoidBindCheck.h [clang-tidy] Adds modernize-avoid-bind check 2016-05-12 20:06:04 +00:00
CMakeLists.txt [clang-tidy] Add modernize-use-using 2016-06-25 18:37:53 +00:00
DeprecatedHeadersCheck.cpp [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
DeprecatedHeadersCheck.h [clang-tidy] Fix doxygen errors. NFC. 2016-06-17 11:43:33 +00:00
LoopConvertCheck.cpp clang-tidy modernize-loop-convert: preserve type of alias declaration (bug 28341) 2016-07-20 12:32:06 +00:00
LoopConvertCheck.h Handle correctly containers that are data members in modernize-loop-convert. 2015-11-03 16:38:31 +00:00
LoopConvertUtils.cpp Adapt to TraverseLambdaCapture interface change from D23204 2016-08-17 15:00:22 +00:00
LoopConvertUtils.h Adapt to TraverseLambdaCapture interface change from D23204 2016-08-17 15:00:22 +00:00
MakeSharedCheck.cpp [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
MakeSharedCheck.h [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
MakeSmartPtrCheck.cpp [clang-tidy] modernize-make-{smart_ptr} private ctor bugfix 2016-08-31 00:06:55 +00:00
MakeSmartPtrCheck.h [Clang-tidy] Fix Clang-tidy modernize-use-override and some Include What You Use warnings in modernize/MakeSmartPtrCheck.h. 2016-05-03 01:13:27 +00:00
MakeUniqueCheck.cpp [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
MakeUniqueCheck.h [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
ModernizeTidyModule.cpp [clang-tidy] Add modernize-use-using 2016-06-25 18:37:53 +00:00
PassByValueCheck.cpp [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
PassByValueCheck.h [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
RawStringLiteralCheck.cpp [Clang-tidy] Fix for crash in modernize-raw-string-literal check 2016-04-21 14:39:12 +00:00
RawStringLiteralCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
RedundantVoidArgCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
RedundantVoidArgCheck.h Add support for type aliases to modernize-redundant-void-arg.cpp 2016-04-14 19:28:13 +00:00
ReplaceAutoPtrCheck.cpp [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
ReplaceAutoPtrCheck.h [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
ShrinkToFitCheck.cpp [ASTMatchers] Added ignoringParenImpCasts to has matchers 2016-05-31 15:26:56 +00:00
ShrinkToFitCheck.h [clang-tidy] Move misc-use-override and readability-shrink-to-fit to "modernize/" 2015-08-31 13:17:43 +00:00
UseAutoCheck.cpp Fix clang-tidy patterns to adapt to newly added ExprWithCleanups nodes. 2016-06-21 20:11:20 +00:00
UseAutoCheck.h [clang-tidy] modernize-use-auto: don't remove stars by default 2016-06-03 21:22:58 +00:00
UseBoolLiteralsCheck.cpp [clang-tidy] enhance modernize-use-bool-literals to check ternary operator 2016-08-08 17:11:56 +00:00
UseBoolLiteralsCheck.h [clang-tidy] Adds modernize-use-bool-literals check. 2016-05-11 11:33:16 +00:00
UseDefaultCheck.cpp [ASTMatchers] Added ignoringParenImpCasts to has matchers 2016-05-31 15:26:56 +00:00
UseDefaultCheck.h Add modernize-use-default check to clang-tidy. 2015-10-21 12:58:15 +00:00
UseEmplaceCheck.cpp [clang-tidy] Fixes to modernize-use-emplace 2016-07-29 02:10:23 +00:00
UseEmplaceCheck.h [clang-tidy] Fixes to modernize-use-emplace 2016-07-29 02:10:23 +00:00
UseNullptrCheck.cpp [clang-tidy] Lift common matchers to utils namespace 2016-05-17 19:36:09 +00:00
UseNullptrCheck.h [clang-tidy] Fix use-after-free in UseNullptrCheck. 2015-08-19 23:57:34 +00:00
UseOverrideCheck.cpp [clang-tidy] fix a couple of modernize-use-override bugs 2016-04-04 14:31:36 +00:00
UseOverrideCheck.h [clang-tidy] Move misc-use-override and readability-shrink-to-fit to "modernize/" 2015-08-31 13:17:43 +00:00
UseUsingCheck.cpp [clang-tidy] Add modernize-use-using 2016-06-25 18:37:53 +00:00
UseUsingCheck.h [clang-tidy] Add modernize-use-using 2016-06-25 18:37:53 +00:00