forked from OSchip/llvm-project
4c177038e0
Before the patch calling clang-tidy with -header-filter=.* -system-headers would result in a few hundred useless warnings: warning: macro '_GNU_SOURCE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '_LP64' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_ACQUIRE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_ACQ_REL' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_CONSUME' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_RELAXED' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_RELEASE' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__ATOMIC_SEQ_CST' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] warning: macro '__BIGGEST_ALIGNMENT__' used to declare a constant; consider using a 'constexpr' constant [cppcoreguidelines-macro-usage] ... and so on llvm-svn: 358621 |
||
---|---|---|
.. | ||
AvoidGotoCheck.cpp | ||
AvoidGotoCheck.h | ||
CMakeLists.txt | ||
CppCoreGuidelinesTidyModule.cpp | ||
InterfacesGlobalInitCheck.cpp | ||
InterfacesGlobalInitCheck.h | ||
MacroUsageCheck.cpp | ||
MacroUsageCheck.h | ||
NarrowingConversionsCheck.cpp | ||
NarrowingConversionsCheck.h | ||
NoMallocCheck.cpp | ||
NoMallocCheck.h | ||
OwningMemoryCheck.cpp | ||
OwningMemoryCheck.h | ||
ProBoundsArrayToPointerDecayCheck.cpp | ||
ProBoundsArrayToPointerDecayCheck.h | ||
ProBoundsConstantArrayIndexCheck.cpp | ||
ProBoundsConstantArrayIndexCheck.h | ||
ProBoundsPointerArithmeticCheck.cpp | ||
ProBoundsPointerArithmeticCheck.h | ||
ProTypeConstCastCheck.cpp | ||
ProTypeConstCastCheck.h | ||
ProTypeCstyleCastCheck.cpp | ||
ProTypeCstyleCastCheck.h | ||
ProTypeMemberInitCheck.cpp | ||
ProTypeMemberInitCheck.h | ||
ProTypeReinterpretCastCheck.cpp | ||
ProTypeReinterpretCastCheck.h | ||
ProTypeStaticCastDowncastCheck.cpp | ||
ProTypeStaticCastDowncastCheck.h | ||
ProTypeUnionAccessCheck.cpp | ||
ProTypeUnionAccessCheck.h | ||
ProTypeVarargCheck.cpp | ||
ProTypeVarargCheck.h | ||
SlicingCheck.cpp | ||
SlicingCheck.h | ||
SpecialMemberFunctionsCheck.cpp | ||
SpecialMemberFunctionsCheck.h |