llvm-project/clang-tools-extra/clang-tidy
Matthias Gehre 6207d459a4 [clang-tidy] fix false-positive for cppcoreguidelines-pro-type-member-init with in-class initializers
Summary:
This fixes https://llvm.org/bugs/show_bug.cgi?id=30487 where
```
warning: uninitialized record type: 's' [cppcoreguidelines-pro-type-member-init]
```
is emitted on
```
struct MyStruct
{
    int a = 5;
    int b = 7;
};

int main()
{
    MyStruct s;
}
```

Reviewers: alexfh, aaron.ballman

Subscribers: nemanjai, cfe-commits

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

llvm-svn: 282625
2016-09-28 20:06:18 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert Silence a false positive with the cert-err58-cpp check; now allows objects with static or thread storage duration at function block scope. 2016-09-26 15:00:45 +00:00
cppcoreguidelines [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
google [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
llvm [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
misc [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
modernize [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
mpi [clang-tidy] Cleaning up language options. 2016-09-24 02:13:45 +00:00
performance [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
plugin [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
readability [clang-tidy] Use isStaticStorageClass ast matcher. 2016-09-27 07:58:52 +00:00
tool [clang-tidy] Add doc for `explain-config` option. 2016-09-22 14:36:43 +00:00
utils [clang-tidy] fix false-positive for cppcoreguidelines-pro-type-member-init with in-class initializers 2016-09-28 20:06:18 +00:00
CMakeLists.txt [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
ClangTidy.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
ClangTidy.h [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tidy] fix for NOLINT after macro expansion 2016-09-24 16:06:53 +00:00
ClangTidyDiagnosticConsumer.h Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +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-tidy] Merge ExtraArgs(Before) instead of overriding them. 2016-08-23 14:48:29 +00:00
ClangTidyOptions.h [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
add_new_check.py [clang-tidy] Remove redundant quote in add_new_check script 2016-05-30 15:42:08 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00