hanchenye-llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines
Jonathan Coe 77ec263e60 [clang-tidy] Fix segfault in cppcore-guidelines-special-member-functions check
Summary:
Use a set rather than a vector of defined special member functions so
that multiple declarations of the same function are only counted once.

Move some private static member functions into the cpp file.

Run clang-format on header.

Reviewers: ericLemanissier, Prazek, aaron.ballman

Subscribers: Prazek, cfe-commits, nemanjai

Projects: #clang-tools-extra

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

llvm-svn: 277523
2016-08-02 21:18:37 +00:00
..
CMakeLists.txt [clang-tidy] add check cppcoreguidelines-special-member-functions 2016-07-30 08:58:54 +00:00
CppCoreGuidelinesTidyModule.cpp [clang-tidy] add check cppcoreguidelines-special-member-functions 2016-07-30 08:58:54 +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] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProBoundsArrayToPointerDecayCheck.h [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
ProBoundsConstantArrayIndexCheck.cpp cppcoreguidelines-pro-bounds-constant-array-index: ignore implicit constructor 2016-07-19 17:02:54 +00:00
ProBoundsConstantArrayIndexCheck.h [clang-tidy] Cleanup namespace in utils folder. 2016-05-03 02:54:05 +00:00
ProBoundsPointerArithmeticCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProBoundsPointerArithmeticCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeConstCastCheck.cpp [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
ProTypeConstCastCheck.h [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
ProTypeCstyleCastCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeCstyleCastCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeMemberInitCheck.cpp Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields 2016-05-10 07:42:19 +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 [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeReinterpretCastCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeStaticCastDowncastCheck.cpp [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
ProTypeStaticCastDowncastCheck.h [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
ProTypeUnionAccessCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeUnionAccessCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeVarargCheck.cpp [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
ProTypeVarargCheck.h [clang-tidy] Cleaning namespaces to be more consistant across checkers. 2016-05-02 18:00:29 +00:00
SlicingCheck.cpp Revert "Revert "[clang-tidy] new cppcoreguidelines-slicing"" 2016-07-22 13:45:00 +00:00
SlicingCheck.h Revert "Revert "[clang-tidy] new cppcoreguidelines-slicing"" 2016-07-22 13:45:00 +00:00
SpecialMemberFunctionsCheck.cpp [clang-tidy] Fix segfault in cppcore-guidelines-special-member-functions check 2016-08-02 21:18:37 +00:00
SpecialMemberFunctionsCheck.h [clang-tidy] Fix segfault in cppcore-guidelines-special-member-functions check 2016-08-02 21:18:37 +00:00