llvm-project/clang-tools-extra/clang-tidy/utils
Alexander Kornienko 855d97e30c Complete support for C++ Core Guidelines Type.6: Always initialize a member variable.
Summary: Added the remaining features needed to satisfy C++ Core Guideline Type.6: Always initialize a member variable to cppcoreguidelines-pro-type-member-init. The check now flags all default-constructed uses of record types without user-provided default constructors that would leave their memory in an undefined state. The check suggests value initializing them instead.

Reviewers: flx, alexfh, aaron.ballman

Subscribers: klimek, aaron.ballman, LegalizeAdulthood, cfe-commits

Patch by Michael Miller!

Differential Revision: http://reviews.llvm.org/D18584

llvm-svn: 266191
2016-04-13 11:35:47 +00:00
..
CMakeLists.txt [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
DeclRefExprUtils.cpp [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
DeclRefExprUtils.h [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
FixItHintUtils.cpp [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
FixItHintUtils.h [clang-tidy] Extend UnnecessaryCopyInitialization check to trigger on non-const copies that can be safely converted to const references. 2016-03-05 21:17:58 +00:00
HeaderFileExtensionsUtils.cpp [clang-tdiy] Add header file extension configuration support. 2016-02-05 11:23:59 +00:00
HeaderFileExtensionsUtils.h [clang-tdiy] Add header file extension configuration support. 2016-02-05 11:23:59 +00:00
HeaderGuard.cpp [clang-tidy] Don't duplicate the leading slash. 2015-07-27 13:07:50 +00:00
HeaderGuard.h [clang-tidy] Update docs for clang-tidy checks. NFC 2015-08-27 18:01:58 +00:00
IncludeInserter.cpp [clang-tidy] Fix an assertion failure of "SLocEntry::getExpansion()" when IncludeInserter handles macro header file. 2016-03-02 14:12:17 +00:00
IncludeInserter.h [clang-tidy] Move IncludeSorter.* and IncludeInserter.* to clang-tidy/utils/ 2015-08-14 14:31:31 +00:00
IncludeSorter.cpp [clang-tidy] Sort includes case-sensitively. 2015-12-10 12:24:19 +00:00
IncludeSorter.h Improved the misc-move-constructor-init check to identify arguments that are passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit. 2015-10-06 16:27:03 +00:00
LexerUtils.cpp [clang-tidy] Add UnnecessaryCopyInitialization check to new "performance" module in ClangTidy 2015-12-30 10:24:40 +00:00
LexerUtils.h [clang-tidy] Add UnnecessaryCopyInitialization check to new "performance" module in ClangTidy 2015-12-30 10:24:40 +00:00
Matchers.h Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00
TypeTraits.cpp Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00
TypeTraits.h Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00