hanchenye-llvm-project/clang-tools-extra/test
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
..
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:01:42 +00:00
change-namespace [change-namespace] don't crash when type reference is in function type parameter list. 2016-12-14 17:01:52 +00:00
clang-apply-replacements [clang-tidy] Add check name to YAML export (clang-tools-extra part) 2017-01-03 14:36:13 +00:00
clang-move [clang-move] Support moving type alias declarations. 2017-01-04 14:50:49 +00:00
clang-query
clang-rename [clang-rename] Add test case for r287758. 2016-11-23 13:14:19 +00:00
clang-reorder-fields Add clang-reorder-fields to clang-tools-extra 2016-09-02 02:56:07 +00:00
clang-tidy [clang-tidy] Ignore default arguments in modernize-default-member-init 2017-01-04 17:33:55 +00:00
include-fixer [include-fixer] Don't skip repeated lookups in plugin mode. 2016-11-30 14:37:40 +00:00
modularize Fixed some cases in the modularize assistant mode where header file names didn't translate to valid module names. 2016-03-21 23:05:14 +00:00
pp-trace Fix tests to not assume they know exactly what will be in Clang's predefines buffer. 2016-09-30 23:47:58 +00:00
.clang-format
CMakeLists.txt [clang-move] Make it support both relative and absolute file path arguments. 2016-10-04 09:05:31 +00:00
lit.cfg [find-all-symbols] Add a test to make sure merging actually works. 2016-05-31 12:12:19 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:01:42 +00:00