llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines
Alexander Kornienko fabdbe4732 [clang-tidy] cppcoreguidelines-pro-type-member-init should not complain about static variables
Summary:
Variables with static storage duration are zero-initialized per
[stmt.dcl]p4 and [basic.start.init]p2.

Reviewers: sbenza, aaron.ballman

Subscribers: michael_miller, flx, cfe-commits

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

llvm-svn: 267933
2016-04-28 20:20:01 +00:00
..
CMakeLists.txt [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
CppCoreGuidelinesTidyModule.cpp [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
InterfacesGlobalInitCheck.cpp [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
InterfacesGlobalInitCheck.h [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
ProBoundsArrayToPointerDecayCheck.cpp [clang-tidy] Update check for API change in r263895. 2016-03-20 14:24:49 +00:00
ProBoundsArrayToPointerDecayCheck.h Fix bug 25362 "cppcoreguidelines-pro-bounds-array-to-pointer-decay does not consider const" 2015-11-17 23:35:39 +00:00
ProBoundsConstantArrayIndexCheck.cpp [clang-tidy] add check cppcoreguidelines-pro-bounds-constant-array-index 2015-12-13 22:08:26 +00:00
ProBoundsConstantArrayIndexCheck.h [clang-tidy] add check cppcoreguidelines-pro-bounds-constant-array-index 2015-12-13 22:08:26 +00:00
ProBoundsPointerArithmeticCheck.cpp [clang-tidy] cppcoreguidelines-pro-bounds-pointer-arithmetic: ignore generated pointer arithmetic 2015-11-26 22:32:11 +00:00
ProBoundsPointerArithmeticCheck.h [clang-tidy] new check cppcoreguidelines-pro-bounds-pointer-arithmetic 2015-10-12 21:53:19 +00:00
ProTypeConstCastCheck.cpp Fixing links and reformatting code; NFC. 2015-10-07 20:33:36 +00:00
ProTypeConstCastCheck.h Fixing links and reformatting code; NFC. 2015-10-07 20:33:36 +00:00
ProTypeCstyleCastCheck.cpp [clang-tidy] add new check cppcoreguidelines-pro-type-cstyle-cast 2015-11-08 21:10:39 +00:00
ProTypeCstyleCastCheck.h [clang-tidy] add new check cppcoreguidelines-pro-type-cstyle-cast 2015-11-08 21:10:39 +00:00
ProTypeMemberInitCheck.cpp [clang-tidy] cppcoreguidelines-pro-type-member-init should not complain about static variables 2016-04-28 20:20:01 +00:00
ProTypeMemberInitCheck.h Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00
ProTypeReinterpretCastCheck.cpp Fixing links and reformatting code; NFC. 2015-10-07 20:33:36 +00:00
ProTypeReinterpretCastCheck.h Fixing links and reformatting code; NFC. 2015-10-07 20:33:36 +00:00
ProTypeStaticCastDowncastCheck.cpp [clang-tidy] add check cppcoreguidelines-pro-type-static-cast-downcast 2015-10-12 20:46:53 +00:00
ProTypeStaticCastDowncastCheck.h [clang-tidy] add check cppcoreguidelines-pro-type-static-cast-downcast 2015-10-12 20:46:53 +00:00
ProTypeUnionAccessCheck.cpp [clang-tidy] add check cppcoreguidelines-pro-type-union-access 2015-10-16 18:46:30 +00:00
ProTypeUnionAccessCheck.h [clang-tidy] add check cppcoreguidelines-pro-type-union-access 2015-10-16 18:46:30 +00:00
ProTypeVarargCheck.cpp [clang-tidy] add check cppcoreguidelines-pro-type-vararg 2015-10-21 20:09:02 +00:00
ProTypeVarargCheck.h [clang-tidy] add check cppcoreguidelines-pro-type-vararg 2015-10-21 20:09:02 +00:00