llvm-project/clang-tools-extra/clang-tidy
Malcolm Parsons b744ce87fc [clang-tidy] Ignore default arguments in modernize-default-member-init
Summary:
Default member initializers cannot refer to constructor parameters, but modernize-default-member-init was trying to when the default constructor had default arguments.

Change the check to ignore default arguments to the default constructor.

Fixes PR31524.

Reviewers: alexfh, aaron.ballman

Subscribers: cfe-commits, JDevlieghere, Eugene.Zelenko

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

llvm-svn: 290972
2017-01-04 17:33:55 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
cppcoreguidelines [clang-tidy] cppcoreguidelines-slicing: display discarded state size in bytes 2016-12-22 14:12:31 +00:00
google [clang-tidy] google-explicit-constructor: ignore macros 2016-12-30 15:15:14 +00:00
llvm modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
misc [clang-tidy] Add check 'misc-string-compare'. 2016-12-30 10:09:46 +00:00
modernize [clang-tidy] Ignore default arguments in modernize-default-member-init 2017-01-04 17:33:55 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
performance [clang-tidy] Handle constructors in performance-unnecessary-value-param 2017-01-03 12:10:44 +00:00
plugin [clang-tidy] fix missing anchor for MPI Module 2016-12-16 09:14:47 +00:00
readability [clang-tidy] Add delete null pointer check. 2016-12-31 12:45:59 +00:00
tool [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
utils [clang-tidy] Handle constructors in performance-unnecessary-value-param 2017-01-03 12:10:44 +00:00
CMakeLists.txt [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
ClangTidy.cpp [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
ClangTidy.h [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyOptions.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
add_new_check.py [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
rename_check.py [clang-tidy] Improve rename_check.py. 2016-11-08 11:43:50 +00:00