Skip to end of metadata
Go to start of metadata

The official list of checks maintained by Clang-Tidy.

CLion defaults:

On

Check is On by default in CLion.

Can be turned Off if needed.

Off

Check is Off by default in CLion.

Can be turned On if needed.

Not availCheck is not available in CLion due to various reasons.
Group/PrefixCheckStatus
boost-

boost-use-to-string

On
cert-

cert-dcl03-c

On

cert-dcl50-cpp

Off

cert-dcl54-cpp

On

cert-dcl58-cpp

On

cert-dcl59-cpp

Off

cert-env33-c

Off

cert-err09-cpp

On

cert-err34-c

On

cert-err52-cpp

On

cert-err58-cpp

On

cert-err60-cpp

On

cert-err61-cpp

On

cert-fio38-c

On

cert-flp30-c

On

cert-msc30-c

On

cert-msc50-cpp

On

cert-oop11-cpp

On
clang-analyzer-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

clang-analyzer-apiModeling.google.GTest

Off

clang-analyzer-core.CallAndMessage

Off

clang-analyzer-core.DivideZero

Off

clang-analyzer-core.DynamicTypePropagation

Off

clang-analyzer-core.NonNullParamChecker

Off

clang-analyzer-core.NullDereference

Off

clang-analyzer-core.StackAddressEscape

Off

clang-analyzer-core.UndefinedBinaryOperatorResult

Off

clang-analyzer-core.VLASize

Off

clang-analyzer-core.builtin.BuiltinFunctions

Off

clang-analyzer-core.builtin.NoReturnFunctions

Off

clang-analyzer-core.uninitialized.ArraySubscript

Off

clang-analyzer-core.uninitialized.Assign

Off

clang-analyzer-core.uninitialized.Branch

Off

clang-analyzer-core.uninitialized.CapturedBlockVariable

Off

clang-analyzer-core.uninitialized.UndefReturn

Off

clang-analyzer-cplusplus.NewDelete

Off

clang-analyzer-cplusplus.NewDeleteLeaks

Off

clang-analyzer-cplusplus.SelfAssignment

Off

clang-analyzer-deadcode.DeadStores

Off

clang-analyzer-llvm.Conventions

Off

clang-analyzer-nullability.NullPassedToNonnull

Off

clang-analyzer-nullability.NullReturnedFromNonnull

Off

clang-analyzer-nullability.NullableDereferenced

Off

clang-analyzer-nullability.NullablePassedToNonnull

Off

clang-analyzer-nullability.NullableReturnedFromNonnull

Off

clang-analyzer-optin.cplusplus.VirtualCall

Off

clang-analyzer-optin.mpi.MPI-Checker

Off

clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker

Off

clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker

Off

clang-analyzer-optin.performance.Padding

Off

clang-analyzer-osx.API

Off

clang-analyzer-osx.NumberObjectConversion

Off

clang-analyzer-osx.ObjCProperty

Off

clang-analyzer-osx.SecKeychainAPI

Off

clang-analyzer-osx.cocoa.AtSync

Off

clang-analyzer-osx.cocoa.ClassRelease

Off

clang-analyzer-osx.cocoa.Dealloc

Off

clang-analyzer-osx.cocoa.IncompatibleMethodTypes

Off

clang-analyzer-osx.cocoa.Loops

Off

clang-analyzer-osx.cocoa.MissingSuperCall

Off

clang-analyzer-osx.cocoa.NSAutoreleasePool

Off

clang-analyzer-osx.cocoa.NSError

Off

clang-analyzer-osx.cocoa.NilArg

Off

clang-analyzer-osx.cocoa.NonNilReturnValue

Off

clang-analyzer-osx.cocoa.ObjCGenerics

Off

clang-analyzer-osx.cocoa.RetainCount

Off

clang-analyzer-osx.cocoa.SelfInit

Off

clang-analyzer-osx.cocoa.SuperDealloc

Off

clang-analyzer-osx.cocoa.UnusedIvars

Off

clang-analyzer-osx.cocoa.VariadicMethodTypes

Off

clang-analyzer-osx.coreFoundation.CFError

Off

clang-analyzer-osx.coreFoundation.CFNumber

Off

clang-analyzer-osx.coreFoundation.CFRetainRelease

Off

clang-analyzer-osx.coreFoundation.containers.OutOfBounds

Off

clang-analyzer-osx.coreFoundation.containers.PointerSizedValues

Off

clang-analyzer-security.FloatLoopCounter

Off

clang-analyzer-security.insecureAPI.UncheckedReturn

Off

clang-analyzer-security.insecureAPI.getpw

Off

clang-analyzer-security.insecureAPI.gets

Off

clang-analyzer-security.insecureAPI.mkstemp

Off

clang-analyzer-security.insecureAPI.mktemp

Off

clang-analyzer-security.insecureAPI.rand

Off

clang-analyzer-security.insecureAPI.strcpy

Off

clang-analyzer-security.insecureAPI.vfork

Off

clang-analyzer-unix.API

Off

clang-analyzer-unix.Malloc

Off

clang-analyzer-unix.MallocSizeof

Off

clang-analyzer-unix.MismatchedDeallocator

Off

clang-analyzer-unix.StdCLibraryFunctions

Off

clang-analyzer-unix.Vfork

Off

clang-analyzer-unix.cstring.BadSizeArg

Off

clang-analyzer-unix.cstring.NullArg

Off

clang-analyzer-valist.CopyToSelf

Off

clang-analyzer-valist.Uninitialized

Off

clang-analyzer-valist.Unterminated

Off
cppcoreguidelines-

cppcoreguidelines-c-copy-assignment-signature

On

cppcoreguidelines-interfaces-global-init

On

cppcoreguidelines-no-malloc

Off

cppcoreguidelines-pro-bounds-array-to-pointer-decay

Off

cppcoreguidelines-pro-bounds-constant-array-index

Off

cppcoreguidelines-pro-bounds-pointer-arithmetic

Off

cppcoreguidelines-pro-type-const-cast

Off

cppcoreguidelines-pro-type-cstyle-cast

Off

cppcoreguidelines-pro-type-member-init

On

cppcoreguidelines-pro-type-reinterpret-cast

Off

cppcoreguidelines-pro-type-static-cast-downcast

On

cppcoreguidelines-pro-type-union-access

Off

cppcoreguidelines-pro-type-vararg

Off

cppcoreguidelines-slicing

On

cppcoreguidelines-special-member-functions

Off
google-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

google-build-explicit-make-pair

Off

google-build-namespaces

Off

google-build-using-namespace

Off

google-default-arguments

On

google-explicit-constructor

On

google-global-names-in-headers

Off

google-readability-braces-around-statements

Off

google-readability-casting

Off

google-readability-function-size

Off

google-readability-namespace-comments

Off

google-readability-redundant-smartptr-get

Off

google-readability-todo

Off

google-runtime-int

Off

google-runtime-member-string-references

On

google-runtime-memset

On

google-runtime-operator

On

google-runtime-references

Off

hicpp-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

hicpp-explicit-conversions

On

hicpp-function-size

Off

hicpp-invalid-access-moved

On

hicpp-member-init

On

hicpp-named-parameter

Off

hicpp-new-delete-operators

On

hicpp-no-assembler

Off

hicpp-noexcept-move

On

hicpp-special-member-functions

Off

hicpp-undelegated-constructor

On

hicpp-use-equals-default

On

hicpp-use-equals-delete

On

hicpp-use-override

On
llvm-

llvm-header-guard

Not avail

llvm-include-order

Off

llvm-namespace-comment

Off

llvm-twine-local

Off
misc-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

misc-argument-comment

On

misc-assert-side-effect

On

misc-bool-pointer-implicit-conversion

Off

misc-dangling-handle

On

misc-definitions-in-headers

Off

misc-fold-init-type

On

misc-forward-declaration-namespace

On

misc-forwarding-reference-overload

On

misc-inaccurate-erase

On

misc-incorrect-roundings

On

misc-inefficient-algorithm

On

misc-macro-parentheses

On

misc-macro-repeated-side-effects

On

misc-misplaced-const

On

misc-misplaced-widening-cast

On

misc-move-const-arg

On

misc-move-constructor-init

On

misc-move-forwarding-reference

On

misc-multiple-statement-macro

On

misc-new-delete-overloads

On

misc-noexcept-move-constructor

On

misc-non-copyable-objects

On

misc-redundant-expression

On

misc-sizeof-container

On

misc-sizeof-expression

On

misc-static-assert

On

misc-string-compare

On

misc-string-constructor

On

misc-string-integer-assignment

On

misc-string-literal-with-embedded-nul

On

misc-suspicious-enum-usage

On

misc-suspicious-missing-comma

On

misc-suspicious-semicolon

On

misc-suspicious-string-compare

On

misc-swapped-arguments

On

misc-throw-by-value-catch-by-reference

On

misc-unconventional-assign-operator

On

misc-undelegated-constructor

On

misc-uniqueptr-reset-release

On

misc-unused-alias-decls

Off

misc-unused-parameters

Off

misc-unused-raii

On

misc-unused-using-decls

Off

misc-use-after-move

On

misc-virtual-near-miss

On
modernize-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

modernize-avoid-bind

On

modernize-deprecated-headers

On

modernize-loop-convert

On

modernize-make-shared

On

modernize-make-unique

On

modernize-pass-by-value

On

modernize-raw-string-literal

On

modernize-redundant-void-arg

On

modernize-replace-auto-ptr

On

modernize-replace-random-shuffle

On

modernize-return-braced-init-list

On

modernize-shrink-to-fit

On

modernize-use-auto

On

modernize-use-bool-literals

On

modernize-use-default-member-init

Off

modernize-use-emplace

On

modernize-use-equals-default

On

modernize-use-equals-delete

On

modernize-use-nullptr

On

modernize-use-override

On

modernize-use-transparent-functors

On

modernize-use-using

Off
mpi-

mpi-buffer-deref

On

mpi-type-mismatch

On
performance-

 

 

 

 

 

 

 

performance-faster-string-find

On

performance-for-range-copy

On

performance-implicit-cast-in-loop

On

performance-inefficient-string-concatenation

On

performance-inefficient-vector-operation

On

performance-type-promotion-in-math-fn

On

performance-unnecessary-copy-initialization

On

performance-unnecessary-value-param

On
readability-

readability-avoid-const-params-in-decls

On

readability-braces-around-statements

Off

readability-container-size-empty

On

readability-delete-null-pointer

On

readability-deleted-default

On

readability-else-after-return

Off

readability-function-size

Off

readability-identifier-naming

Off

readability-implicit-bool-cast

Off

readability-inconsistent-declaration-parameter-name

On

readability-misleading-indentation

On

readability-misplaced-array-index

On

readability-named-parameter

Off

readability-non-const-parameter

On

readability-redundant-control-flow

On

readability-redundant-declaration

On

readability-redundant-function-ptr-dereference

On

readability-redundant-member-init

Off

readability-redundant-smartptr-get

On

readability-redundant-string-cstr

On

readability-redundant-string-init

On

readability-simplify-boolean-expr

Off

readability-static-definition-in-anonymous-namespace

On

readability-uniqueptr-delete-release

On

 

 

  • No labels