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.

Group/PrefixCheckStatus
android-

android-cloexec-accept

Off

android-cloexec-accept4

Off

android-cloexec-creat

Off

android-cloexec-dup

Off

android-cloexec-epoll-create

Off

android-cloexec-epoll-create1

Off

android-cloexec-fopen

Off

android-cloexec-inotify-init

Off

android-cloexec-inotify-init1

Off

android-cloexec-memfd-create

Off

android-cloexec-open

Off

android-cloexec-socket

Off
bugprone-

bugprone-argument-comment

On

bugprone-assert-side-effect

On

bugprone-bool-pointer-implicit-conversion

Off

bugprone-copy-constructor-init

On

bugprone-dangling-handle

On

bugprone-fold-init-type

On

bugprone-forward-declaration-namespace

On

bugprone-inaccurate-erase

On

bugprone-integer-division

On

bugprone-misplaced-operator-in-strlen-in-alloc

On

bugprone-move-forwarding-reference

On

bugprone-multiple-statement-macro

On

bugprone-string-constructor

On

bugprone-suspicious-memset-usage

On

bugprone-undefined-memory-manipulation

On

bugprone-use-after-move

On

bugprone-virtual-near-miss

On
boost-

boost-use-to-string

On
cert-

cert-dcl03-c

On

cert-dcl21-cpp

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.NonnilStringConstants

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-optin.portability.UnixAPI

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-owning-memory

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
fuchsia-

fuchsia-default-arguments

Off

fuchsia-overloaded-operator

Off

fuchsia-virtual-inheritance

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-objc-avoid-throwing-exception

Off

google-objc-global-variable-declaration

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-operator

On

google-runtime-references

Off

hicpp-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

hicpp-braces-around-statements

Off

hicpp-deprecated-headers

On

hicpp-exception-baseclass

On

hicpp-explicit-conversions

On

hicpp-function-size

Off

hicpp-invalid-access-moved

On

hicpp-member-init

On

hicpp-move-const-arg

On

hicpp-named-parameter

Off

hicpp-new-delete-operators

On

hicpp-no-array-decay

Off

hicpp-no-assembler

Off

hicpp-no-malloc

Off

hicpp-noexcept-move

On

hicpp-signed-bitwise

On

hicpp-special-member-functions

Off

hicpp-static-assert

On

hicpp-undelegated-constructor

On

hicpp-use-auto

On

hicpp-use-emplace

On

hicpp-use-equals-default

On

hicpp-use-equals-delete

On

hicpp-use-noexcept

On

hicpp-use-nullptr

On

hicpp-use-override

On

hicpp-vararg

Off
llvm-

llvm-header-guard

Off

llvm-include-order

Off

llvm-namespace-comment

Off

llvm-twine-local

Off
misc-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

misc-definitions-in-headers

Off

misc-forwarding-reference-overload

On

misc-incorrect-roundings

On

misc-lambda-function-name

On

misc-macro-parentheses

On

misc-macro-repeated-side-effects

On

misc-misplaced-const

On

misc-misplaced-widening-cast

On

misc-new-delete-overloads

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-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
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-unary-static-assert

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-noexcept

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
objc-

objc-avoid-nserror-init

Off

objc-avoid-spinlock

Off

objc-forbidden-subclassing

Off

objc-property-declaration

Off
performance-

 

 

 

 

 

performance-faster-string-find

On

performance-for-range-copy

On

performance-implicit-conversion-in-loop

On

performance-inefficient-algorithm

On

performance-inefficient-string-concatenation

On

performance-inefficient-vector-operation

On

performance-move-const-arg

On

performance-move-constructor-init

On

performance-noexcept-move-constructor

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-conversion

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-accessed-through-instance

On

readability-static-definition-in-anonymous-namespace

On

readability-uniqueptr-delete-release

On

 

 

  • No labels