[PATCH] D64454: [clang-tidy] Adding static analyzer check to list of clang-tidy checks

Nathan Huckleberry via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 10:48:14 PDT 2019


Nathan-Huckleberry updated this revision to Diff 209257.
Nathan-Huckleberry added a comment.

- Added script for generation of docs based off Checkers.td
- Updated to match newly standardized anchor urls


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64454/new/

https://reviews.llvm.org/D64454

Files:
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.clone.CloneChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.BoolAssignment.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.CallAndMessageUnInitRefArg.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.CastSize.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.CastToStruct.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.Conversion.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.DynamicTypeChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.FixedAddr.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.IdenticalExpr.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.PointerArithm.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.PointerSub.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.SizeofPtr.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.StackAddressAsyncEscape.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.core.TestAfterDivZero.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.cplusplus.DeleteWithNonVirtualDtor.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.cplusplus.EnumCastOutOfRange.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.cplusplus.InvalidatedIterator.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.cplusplus.IteratorRange.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.cplusplus.MismatchedIterator.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.deadcode.UnreachableCode.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.llvm.Conventions.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.nondeterminism.PointerIteration.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.nondeterminism.PointerSorting.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.osx.cocoa.DirectIvarAssignment.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.osx.cocoa.DirectIvarAssignmentForAnnotatedFunctions.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.osx.cocoa.InstanceVariableInvalidation.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.osx.cocoa.MissingInvalidationMethod.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.osx.cocoa.localizability.PluralMisuseChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.ArrayBound.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.ArrayBoundV2.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.MallocOverflow.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.MmapWriteExec.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.ReturnPtrRange.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.security.taint.TaintPropagation.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.BlockInCriticalSection.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.Chroot.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.PthreadLock.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.SimpleStream.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.Stream.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.cstring.BufferOverlap.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.cstring.NotNullTerminated.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-alpha.unix.cstring.OutOfBounds.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.CallAndMessage.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.DivideZero.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.DynamicTypePropagation.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.NonNullParamChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.NullDereference.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.StackAddressEscape.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.UndefinedBinaryOperatorResult.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.VLASize.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.uninitialized.ArraySubscript.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.uninitialized.Assign.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.uninitialized.Branch.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.uninitialized.CapturedBlockVariable.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-core.uninitialized.UndefReturn.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-cplusplus.InnerPointer.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-cplusplus.Move.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-cplusplus.NewDelete.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-cplusplus.NewDeleteLeaks.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-deadcode.DeadStores.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-nullability.NullPassedToNonnull.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-nullability.NullReturnedFromNonnull.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-nullability.NullableDereferenced.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-nullability.NullablePassedToNonnull.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-nullability.NullableReturnedFromNonnull.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.cplusplus.UninitializedObject.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.cplusplus.VirtualCall.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.mpi.MPI-Checker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.osx.OSObjectCStyleCast.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.performance.GCDAntipattern.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.performance.Padding.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-optin.portability.UnixAPI.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.API.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.MIG.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.NumberObjectConversion.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.OSObjectRetainCount.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.ObjCProperty.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.SecKeychainAPI.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.AtSync.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.AutoreleaseWrite.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.ClassRelease.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.Dealloc.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.IncompatibleMethodTypes.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.Loops.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.MissingSuperCall.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.NSAutoreleasePool.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.NSError.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.NilArg.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.NonNilReturnValue.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.ObjCGenerics.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.RetainCount.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.SelfInit.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.SuperDealloc.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.UnusedIvars.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.cocoa.VariadicMethodTypes.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.coreFoundation.CFError.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.coreFoundation.CFNumber.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.coreFoundation.CFRetainRelease.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.coreFoundation.containers.OutOfBounds.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-osx.coreFoundation.containers.PointerSizedValues.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.FloatLoopCounter.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.UncheckedReturn.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.bcmp.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.bcopy.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.bzero.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.getpw.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.gets.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.mkstemp.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.mktemp.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.rand.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.strcpy.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-security.insecureAPI.vfork.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.API.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.Malloc.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.MallocSizeof.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.MismatchedDeallocator.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.Vfork.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.cstring.BadSizeArg.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-unix.cstring.NullArg.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-valist.CopyToSelf.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-valist.Uninitialized.rst
  clang-tools-extra/docs/clang-tidy/checks/clang-analyzer-valist.Unterminated.rst
  clang-tools-extra/docs/clang-tidy/checks/gen-static-analyzer-docs.py
  clang-tools-extra/docs/clang-tidy/checks/list.rst
  clang/docs/analyzer/checkers.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64454.209257.patch
Type: text/x-patch
Size: 122891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190711/466e33cb/attachment-0001.bin>


More information about the cfe-commits mailing list