[PATCH] D59714: [clang-tidy] Separate the check-facing interface
Alexander Kornienko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 22 13:29:00 PDT 2019
alexfh created this revision.
alexfh added reviewers: hokein, gribozavr, aaron.ballman.
Herald added subscribers: llvm-commits, jdoerfert, arphaman, xazax.hun, javed.absar, mgorny.
Herald added projects: clang, LLVM.
Move ClangTidyCheck to a separate header/.cpp
Switch checks to #include "ClangTidyCheck.h"
Mention ClangTidyCheck.h in the docs
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D59714
Files:
clang-tools-extra/clang-tidy/CMakeLists.txt
clang-tools-extra/clang-tidy/ClangTidy.cpp
clang-tools-extra/clang-tidy/ClangTidy.h
clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
clang-tools-extra/clang-tidy/ClangTidyCheck.h
clang-tools-extra/clang-tidy/android/CloexecCheck.h
clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.h
clang-tools-extra/clang-tidy/boost/UseToStringCheck.h
clang-tools-extra/clang-tidy/bugprone/ArgumentCommentCheck.h
clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.h
clang-tools-extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h
clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h
clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.h
clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.h
clang-tools-extra/clang-tidy/bugprone/FoldInitTypeCheck.h
clang-tools-extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h
clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h
clang-tools-extra/clang-tidy/bugprone/InaccurateEraseCheck.h
clang-tools-extra/clang-tidy/bugprone/IncorrectRoundingsCheck.h
clang-tools-extra/clang-tidy/bugprone/IntegerDivisionCheck.h
clang-tools-extra/clang-tidy/bugprone/LambdaFunctionNameCheck.h
clang-tools-extra/clang-tidy/bugprone/MacroParenthesesCheck.h
clang-tools-extra/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h
clang-tools-extra/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h
clang-tools-extra/clang-tidy/bugprone/MisplacedWideningCastCheck.h
clang-tools-extra/clang-tidy/bugprone/MoveForwardingReferenceCheck.h
clang-tools-extra/clang-tidy/bugprone/MultipleStatementMacroCheck.h
clang-tools-extra/clang-tidy/bugprone/ParentVirtualCallCheck.h
clang-tools-extra/clang-tidy/bugprone/SizeofContainerCheck.h
clang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.h
clang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.h
clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h
clang-tools-extra/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h
clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h
clang-tools-extra/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h
clang-tools-extra/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h
clang-tools-extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.h
clang-tools-extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.h
clang-tools-extra/clang-tidy/bugprone/SwappedArgumentsCheck.h
clang-tools-extra/clang-tidy/bugprone/TerminatingContinueCheck.h
clang-tools-extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.h
clang-tools-extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.h
clang-tools-extra/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h
clang-tools-extra/clang-tidy/bugprone/UndelegatedConstructorCheck.h
clang-tools-extra/clang-tidy/bugprone/UnusedRaiiCheck.h
clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.h
clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.h
clang-tools-extra/clang-tidy/bugprone/VirtualNearMissCheck.h
clang-tools-extra/clang-tidy/cert/CommandProcessorCheck.h
clang-tools-extra/clang-tidy/cert/DontModifyStdNamespaceCheck.h
clang-tools-extra/clang-tidy/cert/FloatLoopCounter.h
clang-tools-extra/clang-tidy/cert/LimitedRandomnessCheck.h
clang-tools-extra/clang-tidy/cert/PostfixOperatorCheck.h
clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
clang-tools-extra/clang-tidy/cert/SetLongJmpCheck.h
clang-tools-extra/clang-tidy/cert/StaticObjectExceptionCheck.h
clang-tools-extra/clang-tidy/cert/StrToNumCheck.h
clang-tools-extra/clang-tidy/cert/ThrownExceptionTypeCheck.h
clang-tools-extra/clang-tidy/cert/VariadicFunctionDefCheck.h
clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsCheck.h
clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.h
clang-tools-extra/clang-tidy/fuchsia/OverloadedOperatorCheck.h
clang-tools-extra/clang-tidy/fuchsia/RestrictSystemIncludesCheck.h
clang-tools-extra/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h
clang-tools-extra/clang-tidy/fuchsia/TrailingReturnCheck.h
clang-tools-extra/clang-tidy/fuchsia/VirtualInheritanceCheck.h
clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.h
clang-tools-extra/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h
clang-tools-extra/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h
clang-tools-extra/clang-tidy/google/DefaultArgumentsCheck.h
clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.h
clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.h
clang-tools-extra/clang-tidy/google/FunctionNamingCheck.h
clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h
clang-tools-extra/clang-tidy/google/GlobalVariableDeclarationCheck.h
clang-tools-extra/clang-tidy/google/IntegerTypesCheck.h
clang-tools-extra/clang-tidy/google/NonConstReferences.h
clang-tools-extra/clang-tidy/google/OverloadedUnaryAndCheck.h
clang-tools-extra/clang-tidy/google/TodoCommentCheck.h
clang-tools-extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h
clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h
clang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.h
clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.h
clang-tools-extra/clang-tidy/misc/DefinitionsInHeadersCheck.h
clang-tools-extra/clang-tidy/misc/MisplacedConstCheck.h
clang-tools-extra/clang-tidy/misc/NewDeleteOverloadsCheck.h
clang-tools-extra/clang-tidy/misc/NonCopyableObjects.h
clang-tools-extra/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h
clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.h
clang-tools-extra/clang-tidy/misc/StaticAssertCheck.h
clang-tools-extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h
clang-tools-extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.h
clang-tools-extra/clang-tidy/misc/UniqueptrResetReleaseCheck.h
clang-tools-extra/clang-tidy/misc/UnusedAliasDeclsCheck.h
clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.h
clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h
clang-tools-extra/clang-tidy/modernize/AvoidCArraysCheck.h
clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.h
clang-tools-extra/clang-tidy/modernize/DeprecatedHeadersCheck.h
clang-tools-extra/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h
clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.h
clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.h
clang-tools-extra/clang-tidy/modernize/PassByValueCheck.h
clang-tools-extra/clang-tidy/modernize/RawStringLiteralCheck.h
clang-tools-extra/clang-tidy/modernize/RedundantVoidArgCheck.h
clang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.h
clang-tools-extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.h
clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.h
clang-tools-extra/clang-tidy/modernize/ShrinkToFitCheck.h
clang-tools-extra/clang-tidy/modernize/UnaryStaticAssertCheck.h
clang-tools-extra/clang-tidy/modernize/UseAutoCheck.h
clang-tools-extra/clang-tidy/modernize/UseBoolLiteralsCheck.h
clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.h
clang-tools-extra/clang-tidy/modernize/UseEmplaceCheck.h
clang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.h
clang-tools-extra/clang-tidy/modernize/UseEqualsDeleteCheck.h
clang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.h
clang-tools-extra/clang-tidy/modernize/UseNoexceptCheck.h
clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.h
clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.h
clang-tools-extra/clang-tidy/modernize/UseTransparentFunctorsCheck.h
clang-tools-extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.h
clang-tools-extra/clang-tidy/modernize/UseUsingCheck.h
clang-tools-extra/clang-tidy/mpi/BufferDerefCheck.h
clang-tools-extra/clang-tidy/mpi/TypeMismatchCheck.h
clang-tools-extra/clang-tidy/objc/AvoidNSErrorInitCheck.h
clang-tools-extra/clang-tidy/objc/AvoidSpinlockCheck.h
clang-tools-extra/clang-tidy/objc/ForbiddenSubclassingCheck.h
clang-tools-extra/clang-tidy/objc/PropertyDeclarationCheck.h
clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.h
clang-tools-extra/clang-tidy/performance/ForRangeCopyCheck.h
clang-tools-extra/clang-tidy/performance/ImplicitConversionInLoopCheck.h
clang-tools-extra/clang-tidy/performance/InefficientAlgorithmCheck.h
clang-tools-extra/clang-tidy/performance/InefficientStringConcatenationCheck.h
clang-tools-extra/clang-tidy/performance/InefficientVectorOperationCheck.h
clang-tools-extra/clang-tidy/performance/MoveConstArgCheck.h
clang-tools-extra/clang-tidy/performance/MoveConstructorInitCheck.h
clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.h
clang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.h
clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.h
clang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.h
clang-tools-extra/clang-tidy/portability/SIMDIntrinsicsCheck.h
clang-tools-extra/clang-tidy/readability/AvoidConstParamsInDecls.h
clang-tools-extra/clang-tidy/readability/BracesAroundStatementsCheck.h
clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.h
clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.h
clang-tools-extra/clang-tidy/readability/DeleteNullPointerCheck.h
clang-tools-extra/clang-tidy/readability/DeletedDefaultCheck.h
clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
clang-tools-extra/clang-tidy/readability/FunctionSizeCheck.h
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.h
clang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h
clang-tools-extra/clang-tidy/readability/IsolateDeclarationCheck.h
clang-tools-extra/clang-tidy/readability/MagicNumbersCheck.h
clang-tools-extra/clang-tidy/readability/MisleadingIndentationCheck.h
clang-tools-extra/clang-tidy/readability/MisplacedArrayIndexCheck.h
clang-tools-extra/clang-tidy/readability/NamedParameterCheck.h
clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.h
clang-tools-extra/clang-tidy/readability/NonConstParameterCheck.h
clang-tools-extra/clang-tidy/readability/RedundantControlFlowCheck.h
clang-tools-extra/clang-tidy/readability/RedundantDeclarationCheck.h
clang-tools-extra/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h
clang-tools-extra/clang-tidy/readability/RedundantMemberInitCheck.h
clang-tools-extra/clang-tidy/readability/RedundantPreprocessorCheck.h
clang-tools-extra/clang-tidy/readability/RedundantSmartptrGetCheck.h
clang-tools-extra/clang-tidy/readability/RedundantStringCStrCheck.h
clang-tools-extra/clang-tidy/readability/RedundantStringInitCheck.h
clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
clang-tools-extra/clang-tidy/readability/SimplifySubscriptExprCheck.h
clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h
clang-tools-extra/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h
clang-tools-extra/clang-tidy/readability/StringCompareCheck.h
clang-tools-extra/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h
clang-tools-extra/clang-tidy/readability/UppercaseLiteralSuffixCheck.h
clang-tools-extra/clang-tidy/zircon/TemporaryObjectsCheck.h
clang-tools-extra/docs/clang-tidy/Contributing.rst
llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59714.191936.patch
Type: text/x-patch
Size: 118547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190322/cc7b78a7/attachment-0001.bin>
More information about the cfe-commits
mailing list