llvm-project/clang-tools-extra/clang-tidy/modernize
Miklos Vajna 0854f2dd8f clang-tidy: add IgnoreMacros option to modernize-use-default-member-init
Summary:
And also enable it by default to be consistent with e.g.
modernize-use-using.

This helps e.g. when running this check on cppunit client code where the
macro is provided by the system, so there is no easy way to modify it.

Reviewers: alexfh, malcolm.parsons

Reviewed By: malcolm.parsons

Subscribers: cfe-commits

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

llvm-svn: 302429
2017-05-08 15:13:31 +00:00
..
AvoidBindCheck.cpp Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-29 18:24:01 +00:00
AvoidBindCheck.h [clang-tidy] Adds modernize-avoid-bind check 2016-05-12 20:06:04 +00:00
CMakeLists.txt [clang-tidy] New check: modernize-replace-random-shuffle. 2017-04-24 09:27:20 +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 Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +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 Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
LoopConvertUtils.h Fix some Clang-tidy modernize-use-default and Include What You Use warnings; other minor fixes (NFC). 2016-11-29 18:24:01 +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] Enhance modernize-make-unique to handle unique_ptr.reset() 2016-10-31 15:48:01 +00:00
MakeSmartPtrCheck.h [clang-tidy] Enhance modernize-make-unique to handle unique_ptr.reset() 2016-10-31 15:48:01 +00:00
MakeUniqueCheck.cpp [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
MakeUniqueCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ModernizeTidyModule.cpp [clang-tidy] New check: modernize-replace-random-shuffle. 2017-04-24 09:27:20 +00:00
PassByValueCheck.cpp [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +00:00
PassByValueCheck.h [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
RawStringLiteralCheck.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
RawStringLiteralCheck.h [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
RedundantVoidArgCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +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
ReplaceRandomShuffleCheck.cpp [clang-tidy] New check: modernize-replace-random-shuffle. 2017-04-24 09:27:20 +00:00
ReplaceRandomShuffleCheck.h [clang-tidy] New check: modernize-replace-random-shuffle. 2017-04-24 09:27:20 +00:00
ReturnBracedInitListCheck.cpp [clang-tidy] Add check 'modernize-return-braced-init-list' 2017-02-15 17:06:06 +00:00
ReturnBracedInitListCheck.h [clang-tidy] Add check 'modernize-return-braced-init-list' 2017-02-15 17:06:06 +00:00
ShrinkToFitCheck.cpp [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +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 Apply clang-tidy's performance-unnecessary-value-param to clang-tidy. 2017-03-21 21:34:58 +00:00
UseAutoCheck.h Apply clang-tidy's performance-unnecessary-value-param to clang-tidy. 2017-03-21 21:34: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
UseDefaultMemberInitCheck.cpp clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
UseDefaultMemberInitCheck.h clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
UseEmplaceCheck.cpp [clang-tidy] Use cxxStdInitializerListExpr in modernize-use-emplace 2017-05-05 23:00:37 +00:00
UseEmplaceCheck.h [clang-tidy] Fixes to modernize-use-emplace 2016-07-29 02:10:23 +00:00
UseEqualsDefaultCheck.cpp [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
UseEqualsDefaultCheck.h [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
UseEqualsDeleteCheck.cpp [clang-tidy] Ignore private =deleted methods in macros. 2017-05-08 14:17:27 +00:00
UseEqualsDeleteCheck.h [clang-tidy] Add modernize-use-equals-delete check 2016-11-10 16:46:59 +00:00
UseNullptrCheck.cpp [clang-tidy] Ignore substituted template types in modernize-use-nullptr check. 2017-03-06 14:46:44 +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 handling of methods with try-statement as a body in modernize-use-override 2017-03-01 10:16: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
UseTransparentFunctorsCheck.cpp [clang-tidy] New check to prefer transparent functors to non-transparent ones. 2016-11-16 14:42:10 +00:00
UseTransparentFunctorsCheck.h [clang-tidy] New check to prefer transparent functors to non-transparent ones. 2016-11-16 14:42:10 +00:00
UseUsingCheck.cpp clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
UseUsingCheck.h Fixes for modernize-use-using check: 2017-04-02 19:12:20 +00:00