This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository clang-tools-extra.
from f607f4cd [pp-trace] Try fixing MSVC C2248 after rCTE356849 new 6fdd2836 [clang-tidy] Separate the check-facing interface new 1a7c957a [clang-tidy] Switch checks to #include "ClangTidyCheck.h"
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-tidy/CMakeLists.txt | 1 + clang-tidy/ClangTidy.cpp | 45 ----- clang-tidy/ClangTidy.h | 181 +------------------ clang-tidy/ClangTidyCheck.cpp | 71 ++++++++ clang-tidy/ClangTidyCheck.h | 197 +++++++++++++++++++++ clang-tidy/android/CloexecCheck.h | 2 +- .../android/ComparisonInTempFailureRetryCheck.h | 2 +- clang-tidy/boost/UseToStringCheck.h | 2 +- clang-tidy/bugprone/ArgumentCommentCheck.h | 2 +- clang-tidy/bugprone/AssertSideEffectCheck.h | 2 +- .../bugprone/BoolPointerImplicitConversionCheck.h | 2 +- clang-tidy/bugprone/CopyConstructorInitCheck.h | 2 +- clang-tidy/bugprone/DanglingHandleCheck.h | 2 +- clang-tidy/bugprone/ExceptionEscapeCheck.h | 2 +- clang-tidy/bugprone/FoldInitTypeCheck.h | 2 +- .../bugprone/ForwardDeclarationNamespaceCheck.h | 2 +- .../bugprone/ForwardingReferenceOverloadCheck.h | 2 +- clang-tidy/bugprone/InaccurateEraseCheck.h | 2 +- clang-tidy/bugprone/IncorrectRoundingsCheck.h | 2 +- clang-tidy/bugprone/IntegerDivisionCheck.h | 2 +- clang-tidy/bugprone/LambdaFunctionNameCheck.h | 2 +- clang-tidy/bugprone/MacroParenthesesCheck.h | 2 +- .../bugprone/MacroRepeatedSideEffectsCheck.h | 2 +- .../MisplacedOperatorInStrlenInAllocCheck.h | 2 +- clang-tidy/bugprone/MisplacedWideningCastCheck.h | 2 +- clang-tidy/bugprone/MoveForwardingReferenceCheck.h | 2 +- clang-tidy/bugprone/MultipleStatementMacroCheck.h | 2 +- clang-tidy/bugprone/ParentVirtualCallCheck.h | 2 +- clang-tidy/bugprone/SizeofContainerCheck.h | 2 +- clang-tidy/bugprone/SizeofExpressionCheck.h | 2 +- clang-tidy/bugprone/StringConstructorCheck.h | 2 +- clang-tidy/bugprone/StringIntegerAssignmentCheck.h | 2 +- .../bugprone/StringLiteralWithEmbeddedNulCheck.h | 2 +- clang-tidy/bugprone/SuspiciousEnumUsageCheck.h | 2 +- clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h | 2 +- clang-tidy/bugprone/SuspiciousMissingCommaCheck.h | 2 +- clang-tidy/bugprone/SuspiciousSemicolonCheck.h | 2 +- clang-tidy/bugprone/SuspiciousStringCompareCheck.h | 2 +- clang-tidy/bugprone/SwappedArgumentsCheck.h | 2 +- clang-tidy/bugprone/TerminatingContinueCheck.h | 2 +- clang-tidy/bugprone/ThrowKeywordMissingCheck.h | 2 +- clang-tidy/bugprone/TooSmallLoopVariableCheck.h | 2 +- .../bugprone/UndefinedMemoryManipulationCheck.h | 2 +- clang-tidy/bugprone/UndelegatedConstructorCheck.h | 2 +- clang-tidy/bugprone/UnusedRaiiCheck.h | 2 +- clang-tidy/bugprone/UnusedReturnValueCheck.h | 2 +- clang-tidy/bugprone/UseAfterMoveCheck.h | 2 +- clang-tidy/bugprone/VirtualNearMissCheck.h | 2 +- clang-tidy/cert/CommandProcessorCheck.h | 2 +- clang-tidy/cert/DontModifyStdNamespaceCheck.h | 2 +- clang-tidy/cert/FloatLoopCounter.h | 2 +- clang-tidy/cert/LimitedRandomnessCheck.h | 2 +- clang-tidy/cert/PostfixOperatorCheck.h | 2 +- .../cert/ProperlySeededRandomGeneratorCheck.h | 2 +- clang-tidy/cert/SetLongJmpCheck.h | 2 +- clang-tidy/cert/StaticObjectExceptionCheck.h | 2 +- clang-tidy/cert/StrToNumCheck.h | 2 +- clang-tidy/cert/ThrownExceptionTypeCheck.h | 2 +- clang-tidy/cert/VariadicFunctionDefCheck.h | 2 +- clang-tidy/fuchsia/DefaultArgumentsCheck.h | 2 +- clang-tidy/fuchsia/MultipleInheritanceCheck.h | 2 +- clang-tidy/fuchsia/OverloadedOperatorCheck.h | 2 +- clang-tidy/fuchsia/RestrictSystemIncludesCheck.h | 2 +- .../fuchsia/StaticallyConstructedObjectsCheck.h | 2 +- clang-tidy/fuchsia/TrailingReturnCheck.h | 2 +- clang-tidy/fuchsia/VirtualInheritanceCheck.h | 2 +- clang-tidy/google/AvoidCStyleCastsCheck.h | 2 +- .../google/AvoidThrowingObjCExceptionCheck.h | 2 +- .../google/AvoidUnderscoreInGoogletestNameCheck.h | 2 +- clang-tidy/google/DefaultArgumentsCheck.h | 2 +- clang-tidy/google/ExplicitConstructorCheck.h | 2 +- clang-tidy/google/ExplicitMakePairCheck.h | 2 +- clang-tidy/google/FunctionNamingCheck.h | 2 +- clang-tidy/google/GlobalNamesInHeadersCheck.h | 2 +- clang-tidy/google/GlobalVariableDeclarationCheck.h | 2 +- clang-tidy/google/IntegerTypesCheck.h | 2 +- clang-tidy/google/NonConstReferences.h | 2 +- clang-tidy/google/OverloadedUnaryAndCheck.h | 2 +- clang-tidy/google/TodoCommentCheck.h | 2 +- clang-tidy/google/UnnamedNamespaceInHeaderCheck.h | 2 +- clang-tidy/google/UsingNamespaceDirectiveCheck.h | 2 +- clang-tidy/llvm/IncludeOrderCheck.h | 2 +- clang-tidy/llvm/TwineLocalCheck.h | 2 +- clang-tidy/misc/DefinitionsInHeadersCheck.h | 2 +- clang-tidy/misc/MisplacedConstCheck.h | 2 +- clang-tidy/misc/NewDeleteOverloadsCheck.h | 2 +- clang-tidy/misc/NonCopyableObjects.h | 2 +- .../misc/NonPrivateMemberVariablesInClassesCheck.h | 2 +- clang-tidy/misc/RedundantExpressionCheck.h | 2 +- clang-tidy/misc/StaticAssertCheck.h | 2 +- .../misc/ThrowByValueCatchByReferenceCheck.h | 2 +- .../misc/UnconventionalAssignOperatorCheck.h | 2 +- clang-tidy/misc/UniqueptrResetReleaseCheck.h | 2 +- clang-tidy/misc/UnusedAliasDeclsCheck.h | 2 +- clang-tidy/misc/UnusedParametersCheck.h | 2 +- clang-tidy/misc/UnusedUsingDeclsCheck.h | 2 +- clang-tidy/modernize/AvoidBindCheck.h | 2 +- clang-tidy/modernize/AvoidCArraysCheck.h | 2 +- clang-tidy/modernize/ConcatNestedNamespacesCheck.h | 2 +- clang-tidy/modernize/DeprecatedHeadersCheck.h | 2 +- .../modernize/DeprecatedIosBaseAliasesCheck.h | 2 +- clang-tidy/modernize/LoopConvertCheck.h | 2 +- clang-tidy/modernize/MakeSmartPtrCheck.h | 2 +- clang-tidy/modernize/PassByValueCheck.h | 2 +- clang-tidy/modernize/RawStringLiteralCheck.h | 2 +- clang-tidy/modernize/RedundantVoidArgCheck.h | 2 +- clang-tidy/modernize/ReplaceAutoPtrCheck.h | 2 +- clang-tidy/modernize/ReplaceRandomShuffleCheck.h | 2 +- clang-tidy/modernize/ReturnBracedInitListCheck.h | 2 +- clang-tidy/modernize/ShrinkToFitCheck.h | 2 +- clang-tidy/modernize/UnaryStaticAssertCheck.h | 2 +- clang-tidy/modernize/UseAutoCheck.h | 2 +- clang-tidy/modernize/UseBoolLiteralsCheck.h | 2 +- clang-tidy/modernize/UseDefaultMemberInitCheck.h | 2 +- clang-tidy/modernize/UseEmplaceCheck.h | 2 +- clang-tidy/modernize/UseEqualsDefaultCheck.h | 2 +- clang-tidy/modernize/UseEqualsDeleteCheck.h | 2 +- clang-tidy/modernize/UseNodiscardCheck.h | 2 +- clang-tidy/modernize/UseNoexceptCheck.h | 2 +- clang-tidy/modernize/UseNullptrCheck.h | 2 +- clang-tidy/modernize/UseOverrideCheck.h | 2 +- clang-tidy/modernize/UseTransparentFunctorsCheck.h | 2 +- clang-tidy/modernize/UseUncaughtExceptionsCheck.h | 2 +- clang-tidy/modernize/UseUsingCheck.h | 2 +- clang-tidy/mpi/BufferDerefCheck.h | 2 +- clang-tidy/mpi/TypeMismatchCheck.h | 2 +- clang-tidy/objc/AvoidNSErrorInitCheck.h | 2 +- clang-tidy/objc/AvoidSpinlockCheck.h | 2 +- clang-tidy/objc/ForbiddenSubclassingCheck.h | 2 +- clang-tidy/objc/PropertyDeclarationCheck.h | 2 +- clang-tidy/performance/FasterStringFindCheck.h | 2 +- clang-tidy/performance/ForRangeCopyCheck.h | 2 +- .../performance/ImplicitConversionInLoopCheck.h | 2 +- clang-tidy/performance/InefficientAlgorithmCheck.h | 2 +- .../InefficientStringConcatenationCheck.h | 2 +- .../performance/InefficientVectorOperationCheck.h | 2 +- clang-tidy/performance/MoveConstArgCheck.h | 2 +- clang-tidy/performance/MoveConstructorInitCheck.h | 2 +- .../performance/NoexceptMoveConstructorCheck.h | 2 +- .../performance/TypePromotionInMathFnCheck.h | 2 +- .../performance/UnnecessaryCopyInitialization.h | 2 +- .../performance/UnnecessaryValueParamCheck.h | 2 +- clang-tidy/portability/SIMDIntrinsicsCheck.h | 2 +- clang-tidy/readability/AvoidConstParamsInDecls.h | 2 +- .../readability/BracesAroundStatementsCheck.h | 2 +- clang-tidy/readability/ConstReturnTypeCheck.h | 2 +- clang-tidy/readability/ContainerSizeEmptyCheck.h | 2 +- clang-tidy/readability/DeleteNullPointerCheck.h | 2 +- clang-tidy/readability/DeletedDefaultCheck.h | 2 +- clang-tidy/readability/ElseAfterReturnCheck.h | 2 +- clang-tidy/readability/FunctionSizeCheck.h | 2 +- clang-tidy/readability/IdentifierNamingCheck.h | 2 +- .../readability/ImplicitBoolConversionCheck.h | 2 +- .../InconsistentDeclarationParameterNameCheck.h | 2 +- clang-tidy/readability/IsolateDeclarationCheck.h | 2 +- clang-tidy/readability/MagicNumbersCheck.h | 2 +- .../readability/MisleadingIndentationCheck.h | 2 +- clang-tidy/readability/MisplacedArrayIndexCheck.h | 2 +- clang-tidy/readability/NamedParameterCheck.h | 2 +- clang-tidy/readability/NamespaceCommentCheck.h | 2 +- clang-tidy/readability/NonConstParameterCheck.h | 2 +- clang-tidy/readability/RedundantControlFlowCheck.h | 2 +- clang-tidy/readability/RedundantDeclarationCheck.h | 2 +- .../RedundantFunctionPtrDereferenceCheck.h | 2 +- clang-tidy/readability/RedundantMemberInitCheck.h | 2 +- .../readability/RedundantPreprocessorCheck.h | 2 +- clang-tidy/readability/RedundantSmartptrGetCheck.h | 2 +- clang-tidy/readability/RedundantStringCStrCheck.h | 2 +- clang-tidy/readability/RedundantStringInitCheck.h | 2 +- clang-tidy/readability/SimplifyBooleanExprCheck.h | 2 +- .../readability/SimplifySubscriptExprCheck.h | 2 +- .../StaticAccessedThroughInstanceCheck.h | 2 +- .../StaticDefinitionInAnonymousNamespaceCheck.h | 2 +- clang-tidy/readability/StringCompareCheck.h | 2 +- .../readability/UniqueptrDeleteReleaseCheck.h | 2 +- .../readability/UppercaseLiteralSuffixCheck.h | 2 +- clang-tidy/zircon/TemporaryObjectsCheck.h | 2 +- docs/clang-tidy/Contributing.rst | 5 +- 178 files changed, 445 insertions(+), 399 deletions(-) create mode 100644 clang-tidy/ClangTidyCheck.cpp create mode 100644 clang-tidy/ClangTidyCheck.h