ReSharper 2017.3 Help

Code Inspections in C++

In C++, ReSharper 2017.3 provides two kinds of code inspections: 207 inspections that detect errors such as broken syntax, unresolved symbols, compiler errors, etc. (you cannot configure or disable any of these inspections), and 1024 proprietary code inspections, any of which you can disable or change its severity level.
These code inspections help you detect code issues in design time in all open files, and additionally they allow you to find code issues in specific scope.

Configurable C++ inspections are listed below, grouped in the following categories:

Clang Diagnostics (611 inspections)

InspectionDefault Severity
#pragma-messages clang diagnostic Warning
#warnings clang diagnostic Warning
absolute-value clang diagnostic Warning
abstract-final-class clang diagnostic Warning
abstract-vbase-init clang diagnostic Warning
address-of-array-temporary clang diagnostic Warning
address-of-packed-member clang diagnostic Warning
address-of-temporary clang diagnostic Warning
aligned-allocation-unavailable clang diagnostic Warning
alloca-with-align-alignof clang diagnostic Warning
ambiguous-delete clang diagnostic Warning
ambiguous-ellipsis clang diagnostic Warning
ambiguous-macro clang diagnostic Warning
ambiguous-member-template clang diagnostic Warning
analyzer-incompatible-plugin clang diagnostic Warning
anonymous-pack-parens clang diagnostic Warning
arc-bridge-casts-disallowed-in-nonarc clang diagnostic Warning
arc-maybe-repeated-use-of-weak clang diagnostic Warning
arc-non-pod-memaccess clang diagnostic Warning
arc-performSelector-leaks clang diagnostic Warning
arc-repeated-use-of-weak clang diagnostic Warning
arc-retain-cycles clang diagnostic Warning
arc-unsafe-retained-assign clang diagnostic Warning
array-bounds clang diagnostic Warning
array-bounds-pointer-arithmetic clang diagnostic Warning
asm-ignored-qualifier clang diagnostic Warning
asm-operand-widths clang diagnostic Warning
assign-enum clang diagnostic Warning
assume clang diagnostic Warning
atomic-memory-ordering clang diagnostic Warning
atomic-property-with-user-defined-accessor clang diagnostic Warning
at-protocol clang diagnostic Warning
attribute-packed-for-bitfield clang diagnostic Warning
auto-disable-vptr-sanitizer clang diagnostic Warning
auto-import clang diagnostic Warning
auto-storage-class clang diagnostic Warning
auto-var-id clang diagnostic Warning
availability clang diagnostic Warning
backslash-newline-escape clang diagnostic Warning
bad-function-cast clang diagnostic Warning
bind-to-temporary-copy clang diagnostic Warning
bitfield-constant-conversion clang diagnostic Warning
bitfield-enum-conversion clang diagnostic Warning
bitfield-width clang diagnostic Warning
bitwise-op-parentheses clang diagnostic Warning
block-capture-autoreleasing clang diagnostic Warning
bool-conversion clang diagnostic Warning
braced-scalar-init clang diagnostic Warning
bridge-cast clang diagnostic Warning
builtin-macro-redefined clang diagnostic Warning
builtin-memcpy-chk-size clang diagnostic Warning
builtin-requires-header clang diagnostic Warning
c++11-compat clang diagnostic Warning
c++11-compat-deprecated-writable-strings clang diagnostic Warning
c++11-compat-reserved-user-defined-literal clang diagnostic Warning
c++11-extensions clang diagnostic Warning
c++11-extra-semi clang diagnostic Warning
c++11-inline-namespace clang diagnostic Warning
c++11-long-long clang diagnostic Warning
c++11-narrowing clang diagnostic Warning
c++14-binary-literal clang diagnostic Warning
c++14-extensions clang diagnostic Warning
c++17-compat-mangling clang diagnostic Warning
c++2a-extensions clang diagnostic Warning
c++98-c++11-c++14-c++17-compat clang diagnostic Warning
c++98-c++11-c++14-c++17-compat-pedantic clang diagnostic Warning
c++98-c++11-c++14-compat clang diagnostic Warning
c++98-c++11-c++14-compat-pedantic clang diagnostic Warning
c++98-c++11-compat clang diagnostic Warning
c++98-c++11-compat-binary-literal clang diagnostic Warning
c++98-c++11-compat-pedantic clang diagnostic Warning
c++98-compat clang diagnostic Warning
c++98-compat-bind-to-temporary-copy clang diagnostic Warning
c++98-compat-local-type-template-args clang diagnostic Warning
c++98-compat-pedantic clang diagnostic Warning
c++98-compat-unnamed-type-template-args clang diagnostic Warning
c++-compat clang diagnostic Warning
c11-extensions clang diagnostic Warning
c99-compat clang diagnostic Warning
c99-extensions clang diagnostic Warning
cast-align clang diagnostic Warning
cast-calling-convention clang diagnostic Warning
cast-of-sel-type clang diagnostic Warning
cast-qual clang diagnostic Warning
CFString-literal clang diagnostic Warning
char-subscripts clang diagnostic Warning
Clang compiler error Disabled
clang-cl-pch clang diagnostic Disabled
class-varargs clang diagnostic Warning
comma clang diagnostic Warning
comment clang diagnostic Warning
compare-distinct-pointer-types clang diagnostic Warning
complex-component-init clang diagnostic Warning
conditional-type-mismatch clang diagnostic Warning
conditional-uninitialized clang diagnostic Warning
config-macros clang diagnostic Warning
constant-conversion clang diagnostic Warning
constant-logical-operand clang diagnostic Warning
constexpr-not-const clang diagnostic Warning
consumed clang diagnostic Warning
conversion clang diagnostic Warning
coroutine-missing-unhandled-exception clang diagnostic Warning
covered-switch-default clang diagnostic Warning
cstring-format-directive clang diagnostic Warning
cuda-compat clang diagnostic Warning
custom-atomic-properties clang diagnostic Warning
dangling-else clang diagnostic Warning
dangling-field clang diagnostic Warning
dangling-initializer-list clang diagnostic Warning
date-time clang diagnostic Warning
dealloc-in-category clang diagnostic Warning
debug-compression-unavailable clang diagnostic Warning
declaration-after-statement clang diagnostic Warning
delegating-ctor-cycles clang diagnostic Warning
delete-incomplete clang diagnostic Warning
delete-non-virtual-dtor clang diagnostic Warning
deprecated clang diagnostic Warning
deprecated-attributes clang diagnostic Warning
deprecated-declarations clang diagnostic Warning
deprecated-dynamic-exception-spec clang diagnostic Warning
deprecated-implementations clang diagnostic Warning
deprecated-increment-bool clang diagnostic Warning
deprecated-objc-isa-usage clang diagnostic Warning
deprecated-objc-pointer-introspection clang diagnostic Warning
deprecated-objc-pointer-introspection-performSelector clang diagnostic Warning
deprecated-register clang diagnostic Warning
direct-ivar-access clang diagnostic Warning
disabled-macro-expansion clang diagnostic Warning
distributed-object-modifiers clang diagnostic Warning
division-by-zero clang diagnostic Warning
dll-attribute-on-redeclaration clang diagnostic Warning
dllexport-explicit-instantiation-decl clang diagnostic Warning
dllimport-static-field-def clang diagnostic Warning
documentation clang diagnostic Warning
documentation-deprecated-sync clang diagnostic Warning
documentation-html clang diagnostic Warning
documentation-pedantic clang diagnostic Warning
documentation-unknown-command clang diagnostic Warning
dollar-in-identifier-extension clang diagnostic Warning
double-promotion clang diagnostic Warning
duplicate-decl-specifier clang diagnostic Warning
duplicate-enum clang diagnostic Warning
duplicate-method-arg clang diagnostic Warning
duplicate-method-match clang diagnostic Warning
duplicate-protocol clang diagnostic Warning
dynamic-class-memaccess clang diagnostic Warning
dynamic-exception-spec clang diagnostic Warning
embedded-directive clang diagnostic Warning
empty-body clang diagnostic Warning
empty-decomposition clang diagnostic Warning
empty-translation-unit clang diagnostic Warning
encode-type clang diagnostic Warning
enum-compare clang diagnostic Warning
enum-compare-switch clang diagnostic Warning
enum-conversion clang diagnostic Warning
enum-too-large clang diagnostic Warning
exceptions clang diagnostic Warning
exit-time-destructors clang diagnostic Warning
expansion-to-defined clang diagnostic Warning
explicit-initialize-call clang diagnostic Warning
explicit-ownership-type clang diagnostic Warning
extended-offsetof clang diagnostic Warning
extern-c-compat clang diagnostic Warning
extern-initializer clang diagnostic Warning
extra-qualification clang diagnostic Warning
extra-semi clang diagnostic Warning
extra-tokens clang diagnostic Warning
fallback clang diagnostic Warning
flag-enum clang diagnostic Warning
flexible-array-extensions clang diagnostic Warning
float-conversion clang diagnostic Warning
float-equal clang diagnostic Warning
float-overflow-conversion clang diagnostic Warning
float-zero-conversion clang diagnostic Warning
for-loop-analysis clang diagnostic Warning
format clang diagnostic Warning
format-extra-args clang diagnostic Warning
format-invalid-specifier clang diagnostic Warning
format-non-iso clang diagnostic Warning
format-nonliteral clang diagnostic Warning
format-pedantic clang diagnostic Warning
format-security clang diagnostic Warning
format-zero-length clang diagnostic Warning
four-char-constants clang diagnostic Warning
frame-larger-than= clang diagnostic Warning
function-def-in-objc-container clang diagnostic Warning
gcc-compat clang diagnostic Warning
global-constructors clang diagnostic Warning
gnu-alignof-expression clang diagnostic Warning
gnu-anonymous-struct clang diagnostic Warning
gnu-array-member-paren-init clang diagnostic Warning
gnu-auto-type clang diagnostic Warning
gnu-binary-literal clang diagnostic Warning
gnu-case-range clang diagnostic Warning
gnu-complex-integer clang diagnostic Warning
gnu-compound-literal-initializer clang diagnostic Warning
gnu-conditional-omitted-operand clang diagnostic Warning
gnu-designator clang diagnostic Warning
gnu-empty-initializer clang diagnostic Warning
gnu-empty-struct clang diagnostic Warning
gnu-flexible-array-initializer clang diagnostic Warning
gnu-flexible-array-union-member clang diagnostic Warning
gnu-folding-constant clang diagnostic Warning
gnu-imaginary-constant clang diagnostic Warning
gnu-include-next clang diagnostic Warning
gnu-label-as-value clang diagnostic Warning
gnu-redeclared-enum clang diagnostic Warning
gnu-statement-expression clang diagnostic Warning
gnu-static-float-init clang diagnostic Warning
gnu-string-literal-operator-template clang diagnostic Warning
gnu-union-cast clang diagnostic Warning
gnu-variable-sized-type-not-at-end clang diagnostic Warning
gnu-zero-variadic-macro-arguments clang diagnostic Warning
header-guard clang diagnostic Warning
header-hygiene clang diagnostic Warning
idiomatic-parentheses clang diagnostic Warning
ignored-attributes clang diagnostic Warning
ignored-optimization-argument clang diagnostic Warning
ignored-pragma-intrinsic clang diagnostic Warning
ignored-pragmas clang diagnostic Warning
ignored-qualifiers clang diagnostic Warning
implicit-atomic-properties clang diagnostic Warning
implicit-conversion-floating-point-to-bool clang diagnostic Warning
implicit-exception-spec-mismatch clang diagnostic Warning
implicit-fallthrough clang diagnostic Warning
implicit-fallthrough-per-function clang diagnostic Warning
implicit-function-declaration clang diagnostic Warning
implicit-int clang diagnostic Warning
implicitly-unsigned-literal clang diagnostic Warning
implicit-retain-self clang diagnostic Warning
import-preprocessor-directive-pedantic clang diagnostic Warning
inaccessible-base clang diagnostic Warning
include-next-absolute-path clang diagnostic Warning
include-next-outside-header clang diagnostic Warning
incompatible-exception-spec clang diagnostic Warning
incompatible-function-pointer-types clang diagnostic Warning
incompatible-library-redeclaration clang diagnostic Warning
incompatible-ms-struct clang diagnostic Warning
incompatible-pointer-types clang diagnostic Warning
incompatible-pointer-types-discards-qualifiers clang diagnostic Warning
incompatible-property-type clang diagnostic Warning
incompatible-sysroot clang diagnostic Warning
incomplete-implementation clang diagnostic Warning
incomplete-module clang diagnostic Warning
incomplete-umbrella clang diagnostic Warning
inconsistent-dllimport clang diagnostic Warning
inconsistent-missing-destructor-override clang diagnostic Warning
inconsistent-missing-override clang diagnostic Warning
increment-bool clang diagnostic Warning
IndependentClass-attribute clang diagnostic Warning
infinite-recursion clang diagnostic Warning
initializer-overrides clang diagnostic Warning
injected-class-name clang diagnostic Warning
inline-asm clang diagnostic Warning
inline-new-delete clang diagnostic Warning
instantiation-after-specialization clang diagnostic Warning
int-conversion clang diagnostic Warning
integer-overflow clang diagnostic Warning
int-to-pointer-cast clang diagnostic Warning
int-to-void-pointer-cast clang diagnostic Warning
invalid-constexpr clang diagnostic Warning
invalid-iboutlet clang diagnostic Warning
invalid-initializer-from-system-header clang diagnostic Warning
invalid-ios-deployment-target clang diagnostic Warning
invalid-noreturn clang diagnostic Warning
invalid-offsetof clang diagnostic Warning
invalid-or-nonexistent-directory clang diagnostic Warning
invalid-partial-specialization clang diagnostic Warning
invalid-pp-token clang diagnostic Warning
invalid-source-encoding clang diagnostic Warning
invalid-token-paste clang diagnostic Warning
jump-seh-finally clang diagnostic Warning
keyword-compat clang diagnostic Warning
keyword-macro clang diagnostic Warning
knr-promoted-parameter clang diagnostic Warning
language-extension-token clang diagnostic Warning
large-by-value-copy clang diagnostic Warning
literal-conversion clang diagnostic Warning
literal-range clang diagnostic Warning
local-type-template-args clang diagnostic Warning
logical-not-parentheses clang diagnostic Warning
logical-op-parentheses clang diagnostic Warning
long-long clang diagnostic Warning
macro-redefined clang diagnostic Warning
main clang diagnostic Warning
main-return-type clang diagnostic Warning
malformed-warning-check clang diagnostic Warning
many-braces-around-scalar-init clang diagnostic Warning
max-unsigned-zero clang diagnostic Warning
memsize-comparison clang diagnostic Warning
method-signatures clang diagnostic Warning
microsoft-anon-tag clang diagnostic Warning
microsoft-cast clang diagnostic Warning
microsoft-charize clang diagnostic Warning
microsoft-comment-paste clang diagnostic Warning
microsoft-const-init clang diagnostic Warning
microsoft-cpp-macro clang diagnostic Warning
microsoft-default-arg-redefinition clang diagnostic Warning
microsoft-end-of-file clang diagnostic Warning
microsoft-enum-forward-reference clang diagnostic Warning
microsoft-enum-value clang diagnostic Warning
microsoft-exception-spec clang diagnostic Warning
microsoft-exists clang diagnostic Warning
microsoft-explicit-constructor-call clang diagnostic Warning
microsoft-extra-qualification clang diagnostic Warning
microsoft-fixed-enum clang diagnostic Warning
microsoft-flexible-array clang diagnostic Warning
microsoft-goto clang diagnostic Warning
microsoft-include clang diagnostic Warning
microsoft-mutable-reference clang diagnostic Warning
microsoft-pure-definition clang diagnostic Warning
microsoft-redeclare-static clang diagnostic Warning
microsoft-sealed clang diagnostic Warning
microsoft-template clang diagnostic Warning
microsoft-union-member-reference clang diagnostic Warning
microsoft-unqualified-friend clang diagnostic Warning
microsoft-using-decl clang diagnostic Warning
microsoft-void-pseudo-dtor clang diagnostic Warning
mismatched-new-delete clang diagnostic Warning
mismatched-parameter-types clang diagnostic Warning
mismatched-return-types clang diagnostic Warning
mismatched-tags clang diagnostic Warning
missing-braces clang diagnostic Warning
missing-declarations clang diagnostic Warning
missing-exception-spec clang diagnostic Warning
missing-field-initializers clang diagnostic Warning
missing-method-return-type clang diagnostic Warning
missing-noescape clang diagnostic Warning
missing-noreturn clang diagnostic Warning
missing-prototype-for-cc clang diagnostic Warning
missing-prototypes clang diagnostic Warning
missing-selector-name clang diagnostic Warning
missing-sysroot clang diagnostic Warning
missing-variable-declarations clang diagnostic Warning
module-conflict clang diagnostic Warning
module-file-config-mismatch clang diagnostic Warning
module-file-extension clang diagnostic Warning
module-import-in-extern-c clang diagnostic Warning
modules-ambiguous-internal-linkage clang diagnostic Warning
modules-import-nested-redundant clang diagnostic Warning
msvc-not-found clang diagnostic Warning
multichar clang diagnostic Warning
multiple-move-vbase clang diagnostic Warning
nested-anon-types clang diagnostic Warning
newline-eof clang diagnostic Warning
new-returns-null clang diagnostic Warning
non-literal-null-conversion clang diagnostic Warning
non-modular-include-in-framework-module clang diagnostic Warning
non-modular-include-in-module clang diagnostic Warning
nonnull clang diagnostic Warning
non-pod-varargs clang diagnostic Warning
nonportable-include-path clang diagnostic Warning
nonportable-system-include-path clang diagnostic Warning
nonportable-vector-initialization clang diagnostic Warning
non-virtual-dtor clang diagnostic Warning
nsconsumed-mismatch clang diagnostic Warning
NSObject-attribute clang diagnostic Warning
nsreturns-mismatch clang diagnostic Warning
nullability clang diagnostic Warning
nullability-completeness clang diagnostic Warning
nullability-completeness-on-arrays clang diagnostic Warning
nullability-declspec clang diagnostic Warning
nullability-extension clang diagnostic Warning
nullability-inferred-on-nested-type clang diagnostic Warning
nullable-to-nonnull-conversion clang diagnostic Warning
null-arithmetic clang diagnostic Warning
null-character clang diagnostic Warning
null-conversion clang diagnostic Warning
null-dereference clang diagnostic Warning
null-pointer-arithmetic clang diagnostic Warning
objc-autosynthesis-property-ivar-name-match clang diagnostic Warning
objc-circular-container clang diagnostic Warning
objc-designated-initializers clang diagnostic Warning
objc-flexible-array clang diagnostic Warning
objc-forward-class-redefinition clang diagnostic Warning
objc-interface-ivars clang diagnostic Warning
objc-literal-compare clang diagnostic Warning
objc-literal-conversion clang diagnostic Warning
objc-macro-redefinition clang diagnostic Warning
objc-messaging-id clang diagnostic Warning
objc-method-access clang diagnostic Warning
objc-missing-property-synthesis clang diagnostic Warning
objc-missing-super-calls clang diagnostic Warning
objc-multiple-method-names clang diagnostic Warning
objc-noncopy-retain-block-property clang diagnostic Warning
objc-nonunified-exceptions clang diagnostic Warning
objc-property-implementation clang diagnostic Warning
objc-property-implicit-mismatch clang diagnostic Warning
objc-property-matches-cocoa-ownership-rule clang diagnostic Warning
objc-property-no-attribute clang diagnostic Warning
objc-property-synthesis clang diagnostic Warning
objc-protocol-method-implementation clang diagnostic Warning
objc-protocol-property-synthesis clang diagnostic Warning
objc-protocol-qualifiers clang diagnostic Warning
objc-readonly-with-setter-property clang diagnostic Warning
objc-redundant-literal-use clang diagnostic Warning
objc-root-class clang diagnostic Warning
objc-string-compare clang diagnostic Warning
objc-string-concatenation clang diagnostic Warning
objc-unsafe-perform-selector clang diagnostic Warning
odr clang diagnostic Warning
old-style-cast clang diagnostic Warning
opencl-unsupported-rgba clang diagnostic Warning
openmp-clauses clang diagnostic Warning
openmp-loop-form clang diagnostic Warning
openmp-target clang diagnostic Warning
option-ignored clang diagnostic Warning
out-of-line-declaration clang diagnostic Warning
out-of-scope-function clang diagnostic Warning
over-aligned clang diagnostic Warning
overlength-strings clang diagnostic Warning
overloaded-shift-op-parentheses clang diagnostic Warning
overloaded-virtual clang diagnostic Warning
override-module clang diagnostic Warning
overriding-method-mismatch clang diagnostic Warning
overriding-t-option clang diagnostic Warning
packed clang diagnostic Warning
padded clang diagnostic Warning
parentheses clang diagnostic Warning
parentheses-equality clang diagnostic Warning
pass-failed clang diagnostic Warning
pch-date-time clang diagnostic Warning
pedantic clang diagnostic Warning
pedantic-core-features clang diagnostic Warning
pessimizing-move clang diagnostic Warning
pointer-arith clang diagnostic Warning
pointer-bool-conversion clang diagnostic Warning
pointer-sign clang diagnostic Warning
pointer-type-mismatch clang diagnostic Warning
potentially-evaluated-expression clang diagnostic Warning
pragma-clang-attribute clang diagnostic Warning
pragma-once-outside-header clang diagnostic Warning
pragma-pack clang diagnostic Warning
pragma-pack-suspicious-include clang diagnostic Warning
pragmas clang diagnostic Warning
pragma-system-header-outside-header clang diagnostic Warning
predefined-identifier-outside-function clang diagnostic Warning
private-extern clang diagnostic Warning
private-header clang diagnostic Warning
private-module clang diagnostic Warning
profile-instr-missing clang diagnostic Warning
profile-instr-out-of-date clang diagnostic Warning
profile-instr-unprofiled clang diagnostic Warning
property-access-dot-syntax clang diagnostic Warning
property-attribute-mismatch clang diagnostic Warning
protocol clang diagnostic Warning
protocol-property-synthesis-ambiguity clang diagnostic Warning
qualified-void-return-type clang diagnostic Warning
range-loop-analysis clang diagnostic Warning
readonly-iboutlet-property clang diagnostic Warning
receiver-expr clang diagnostic Warning
receiver-forward-class clang diagnostic Warning
redeclared-class-member clang diagnostic Warning
redundant-move clang diagnostic Warning
redundant-parens clang diagnostic Warning
register clang diagnostic Warning
reinterpret-base-class clang diagnostic Warning
reorder clang diagnostic Warning
requires-super-attribute clang diagnostic Warning
reserved-id-macro clang diagnostic Warning
reserved-user-defined-literal clang diagnostic Warning
retained-language-linkage clang diagnostic Warning
return-stack-address clang diagnostic Warning
return-type clang diagnostic Warning
return-type-c-linkage clang diagnostic Warning
rtti-for-exceptions clang diagnostic Warning
section clang diagnostic Warning
selector clang diagnostic Warning
selector-type-mismatch clang diagnostic Warning
self-assign clang diagnostic Warning
self-assign-field clang diagnostic Warning
self-move clang diagnostic Warning
semicolon-before-method-body clang diagnostic Warning
sentinel clang diagnostic Warning
serialized-diagnostics clang diagnostic Warning
shadow clang diagnostic Warning
shadow-field clang diagnostic Warning
shadow-field-in-constructor clang diagnostic Warning
shadow-field-in-constructor-modified clang diagnostic Warning
shadow-ivar clang diagnostic Warning
shadow-uncaptured-local clang diagnostic Warning
shift-count-negative clang diagnostic Warning
shift-count-overflow clang diagnostic Warning
shift-negative-value clang diagnostic Warning
shift-op-parentheses clang diagnostic Warning
shift-overflow clang diagnostic Warning
shift-sign-overflow clang diagnostic Warning
shorten-64-to-32 clang diagnostic Warning
sign-compare clang diagnostic Warning
sign-conversion clang diagnostic Warning
signed-enum-bitfield clang diagnostic Warning
sizeof-array-argument clang diagnostic Warning
sizeof-array-decay clang diagnostic Warning
sizeof-pointer-memaccess clang diagnostic Warning
slash-u-filename clang diagnostic Warning
sometimes-uninitialized clang diagnostic Warning
source-uses-openmp clang diagnostic Warning
spir-compat clang diagnostic Warning
static-float-init clang diagnostic Warning
static-in-inline clang diagnostic Warning
static-inline-explicit-instantiation clang diagnostic Warning
static-local-in-inline clang diagnostic Warning
static-self-init clang diagnostic Warning
strict-prototypes clang diagnostic Warning
strict-selector-match clang diagnostic Warning
string-compare clang diagnostic Warning
string-conversion clang diagnostic Warning
string-plus-char clang diagnostic Warning
string-plus-int clang diagnostic Warning
strlcpy-strlcat-size clang diagnostic Warning
strncat-size clang diagnostic Warning
super-class-method-mismatch clang diagnostic Warning
switch clang diagnostic Warning
switch-bool clang diagnostic Warning
switch-enum clang diagnostic Warning
sync-fetch-and-nand-semantics-changed clang diagnostic Warning
tautological-compare clang diagnostic Warning
tautological-constant-compare clang diagnostic Warning
tautological-constant-out-of-range-compare clang diagnostic Warning
tautological-overlap-compare clang diagnostic Warning
tautological-pointer-compare clang diagnostic Warning
tautological-undefined-compare clang diagnostic Warning
tautological-unsigned-enum-zero-compare clang diagnostic Warning
tautological-unsigned-zero-compare clang diagnostic Warning
tentative-definition-incomplete-type clang diagnostic Warning
thread-safety-analysis clang diagnostic Warning
thread-safety-attributes clang diagnostic Warning
thread-safety-beta clang diagnostic Warning
thread-safety-negative clang diagnostic Warning
thread-safety-precise clang diagnostic Warning
thread-safety-reference clang diagnostic Warning
thread-safety-verbose clang diagnostic Warning
trigraphs clang diagnostic Warning
typedef-redefinition clang diagnostic Warning
typename-missing clang diagnostic Warning
type-safety clang diagnostic Warning
unable-to-open-stats-file clang diagnostic Warning
unavailable-declarations clang diagnostic Warning
undeclared-selector clang diagnostic Warning
undef clang diagnostic Warning
undefined-bool-conversion clang diagnostic Warning
undefined-func-template clang diagnostic Warning
undefined-inline clang diagnostic Warning
undefined-internal clang diagnostic Warning
undefined-internal-type clang diagnostic Warning
undefined-reinterpret-cast clang diagnostic Warning
undefined-var-template clang diagnostic Warning
unevaluated-expression clang diagnostic Warning
unguarded-availability clang diagnostic Warning
unguarded-availability-new clang diagnostic Warning
unicode clang diagnostic Warning
unicode-whitespace clang diagnostic Warning
uninitialized clang diagnostic Warning
unknown-argument clang diagnostic Warning
unknown-attributes clang diagnostic Warning
unknown-escape-sequence clang diagnostic Warning
unknown-pragmas clang diagnostic Warning
unknown-sanitizers clang diagnostic Warning
unknown-warning-option clang diagnostic Warning
unnamed-type-template-args clang diagnostic Warning
unneeded-internal-declaration clang diagnostic Warning
unneeded-member-function clang diagnostic Warning
unreachable-code clang diagnostic Warning
unreachable-code-break clang diagnostic Warning
unreachable-code-loop-increment clang diagnostic Warning
unreachable-code-return clang diagnostic Warning
unsequenced clang diagnostic Warning
unsupported-abs clang diagnostic Warning
unsupported-availability-guard clang diagnostic Warning
unsupported-cb clang diagnostic Warning
unsupported-dll-base-class-template clang diagnostic Warning
unsupported-friend clang diagnostic Warning
unsupported-gpopt clang diagnostic Warning
unsupported-nan clang diagnostic Warning
unsupported-visibility clang diagnostic Warning
unusable-partial-specialization clang diagnostic Warning
unused-comparison clang diagnostic Warning
unused-const-variable clang diagnostic Warning
unused-exception-parameter clang diagnostic Warning
unused-function clang diagnostic Warning
unused-getter-return-value clang diagnostic Warning
unused-label clang diagnostic Warning
unused-lambda-capture clang diagnostic Warning
unused-local-typedef clang diagnostic Warning
unused-macros clang diagnostic Warning
unused-member-function clang diagnostic Warning
unused-parameter clang diagnostic Warning
unused-private-field clang diagnostic Warning
unused-property-ivar clang diagnostic Warning
unused-result clang diagnostic Warning
unused-template clang diagnostic Warning
unused-value clang diagnostic Warning
unused-variable clang diagnostic Warning
unused-volatile-lvalue clang diagnostic Warning
used-but-marked-unused clang diagnostic Warning
user-defined-literals clang diagnostic Warning
user-defined-warnings clang diagnostic Warning
varargs clang diagnostic Warning
variadic-macros clang diagnostic Warning
vec-elem-size clang diagnostic Warning
vector-conversion clang diagnostic Warning
vexing-parse clang diagnostic Warning
visibility clang diagnostic Warning
vla clang diagnostic Warning
vla-extension clang diagnostic Warning
void-ptr-dereference clang diagnostic Warning
weak-template-vtables clang diagnostic Warning
weak-vtables clang diagnostic Warning
writable-strings clang diagnostic Warning
zero-as-null-pointer-constant clang diagnostic Warning
zero-length-array clang diagnostic Warning

Clang Static Analyzer Checks (78 inspections)

InspectionDefault Severity
apiModeling.google.GTest clang static analyzer check Disabled
core.builtin.BuiltinFunctions clang static analyzer check Disabled
core.builtin.NoReturnFunctions clang static analyzer check Disabled
core.CallAndMessage clang static analyzer check Disabled
core.DivideZero clang static analyzer check Disabled
core.DynamicTypePropagation clang static analyzer check Disabled
core.NonnilStringConstants clang static analyzer check Disabled
core.NonNullParamChecker clang static analyzer check Disabled
core.NullDereference clang static analyzer check Disabled
core.StackAddressEscape clang static analyzer check Disabled
core.UndefinedBinaryOperatorResult clang static analyzer check Disabled
core.uninitialized.ArraySubscript clang static analyzer check Disabled
core.uninitialized.Assign clang static analyzer check Disabled
core.uninitialized.Branch clang static analyzer check Disabled
core.uninitialized.CapturedBlockVariable clang static analyzer check Disabled
core.uninitialized.UndefReturn clang static analyzer check Disabled
core.VLASize clang static analyzer check Disabled
cplusplus.NewDelete clang static analyzer check Disabled
cplusplus.NewDeleteLeaks clang static analyzer check Disabled
cplusplus.SelfAssignment clang static analyzer check Disabled
deadcode.DeadStores clang static analyzer check Disabled
llvm.Conventions clang static analyzer check Disabled
nullability.NullableDereferenced clang static analyzer check Disabled
nullability.NullablePassedToNonnull clang static analyzer check Disabled
nullability.NullableReturnedFromNonnull clang static analyzer check Disabled
nullability.NullPassedToNonnull clang static analyzer check Disabled
nullability.NullReturnedFromNonnull clang static analyzer check Disabled
optin.cplusplus.VirtualCall clang static analyzer check Disabled
optin.mpi.MPI-Checker clang static analyzer check Disabled
optin.osx.cocoa.localizability.EmptyLocalizationContextChecker clang static analyzer check Disabled
optin.osx.cocoa.localizability.NonLocalizedStringChecker clang static analyzer check Disabled
optin.performance.Padding clang static analyzer check Disabled
optin.portability.UnixAPI clang static analyzer check Disabled
osx.API clang static analyzer check Disabled
osx.cocoa.AtSync clang static analyzer check Disabled
osx.cocoa.ClassRelease clang static analyzer check Disabled
osx.cocoa.Dealloc clang static analyzer check Disabled
osx.cocoa.IncompatibleMethodTypes clang static analyzer check Disabled
osx.cocoa.Loops clang static analyzer check Disabled
osx.cocoa.MissingSuperCall clang static analyzer check Disabled
osx.cocoa.NilArg clang static analyzer check Disabled
osx.cocoa.NonNilReturnValue clang static analyzer check Disabled
osx.cocoa.NSAutoreleasePool clang static analyzer check Disabled
osx.cocoa.NSError clang static analyzer check Disabled
osx.cocoa.ObjCGenerics clang static analyzer check Disabled
osx.cocoa.RetainCount clang static analyzer check Disabled
osx.cocoa.SelfInit clang static analyzer check Disabled
osx.cocoa.SuperDealloc clang static analyzer check Disabled
osx.cocoa.UnusedIvars clang static analyzer check Disabled
osx.cocoa.VariadicMethodTypes clang static analyzer check Disabled
osx.coreFoundation.CFError clang static analyzer check Disabled
osx.coreFoundation.CFNumber clang static analyzer check Disabled
osx.coreFoundation.CFRetainRelease clang static analyzer check Disabled
osx.coreFoundation.containers.OutOfBounds clang static analyzer check Disabled
osx.coreFoundation.containers.PointerSizedValues clang static analyzer check Disabled
osx.NumberObjectConversion clang static analyzer check Disabled
osx.ObjCProperty clang static analyzer check Disabled
osx.SecKeychainAPI clang static analyzer check Disabled
security.FloatLoopCounter clang static analyzer check Disabled
security.insecureAPI.getpw clang static analyzer check Disabled
security.insecureAPI.gets clang static analyzer check Disabled
security.insecureAPI.mkstemp clang static analyzer check Disabled
security.insecureAPI.mktemp clang static analyzer check Disabled
security.insecureAPI.rand clang static analyzer check Disabled
security.insecureAPI.strcpy clang static analyzer check Disabled
security.insecureAPI.UncheckedReturn clang static analyzer check Disabled
security.insecureAPI.vfork clang static analyzer check Disabled
unix.API clang static analyzer check Disabled
unix.cstring.BadSizeArg clang static analyzer check Disabled
unix.cstring.NullArg clang static analyzer check Disabled
unix.Malloc clang static analyzer check Disabled
unix.MallocSizeof clang static analyzer check Disabled
unix.MismatchedDeallocator clang static analyzer check Disabled
unix.StdCLibraryFunctions clang static analyzer check Disabled
unix.Vfork clang static analyzer check Disabled
valist.CopyToSelf clang static analyzer check Disabled
valist.Uninitialized clang static analyzer check Disabled
valist.Unterminated clang static analyzer check Disabled

Clang-Tidy Checks (202 inspections)

InspectionDefault Severity
android-cloexec-accept clang-tidy check Warning
android-cloexec-accept4 clang-tidy check Warning
android-cloexec-creat clang-tidy check Warning
android-cloexec-dup clang-tidy check Warning
android-cloexec-epoll-create clang-tidy check Warning
android-cloexec-epoll-create1 clang-tidy check Warning
android-cloexec-fopen clang-tidy check Warning
android-cloexec-inotify-init clang-tidy check Warning
android-cloexec-inotify-init1 clang-tidy check Warning
android-cloexec-memfd-create clang-tidy check Warning
android-cloexec-open clang-tidy check Warning
android-cloexec-socket clang-tidy check Warning
boost-use-to-string clang-tidy check Suggestion
bugprone-integer-division clang-tidy check Warning
bugprone-suspicious-memset-usage clang-tidy check Warning
bugprone-undefined-memory-manipulation clang-tidy check Warning
cert-dcl03-c clang-tidy check Suggestion
cert-dcl21-cpp clang-tidy check Disabled
cert-dcl50-cpp clang-tidy check Disabled
cert-dcl54-cpp clang-tidy check Warning
cert-dcl58-cpp clang-tidy check Warning
cert-dcl59-cpp clang-tidy check Warning
cert-env33-c clang-tidy check Disabled
cert-err09-cpp clang-tidy check Warning
cert-err34-c clang-tidy check Suggestion
cert-err52-cpp clang-tidy check Disabled
cert-err58-cpp clang-tidy check Disabled
cert-err60-cpp clang-tidy check Warning
cert-err61-cpp clang-tidy check Warning
cert-fio38-c clang-tidy check Warning
cert-flp30-c clang-tidy check Warning
cert-msc30-c clang-tidy check Disabled
cert-msc50-cpp clang-tidy check Disabled
cert-oop11-cpp clang-tidy check Warning
cppcoreguidelines-c-copy-assignment-signature clang-tidy check Warning
cppcoreguidelines-interfaces-global-init clang-tidy check Warning
cppcoreguidelines-no-malloc clang-tidy check Disabled
cppcoreguidelines-owning-memory clang-tidy check Disabled
cppcoreguidelines-pro-bounds-array-to-pointer-decay clang-tidy check Disabled
cppcoreguidelines-pro-bounds-constant-array-index clang-tidy check Disabled
cppcoreguidelines-pro-bounds-pointer-arithmetic clang-tidy check Disabled
cppcoreguidelines-pro-type-const-cast clang-tidy check Disabled
cppcoreguidelines-pro-type-cstyle-cast clang-tidy check Disabled
cppcoreguidelines-pro-type-member-init clang-tidy check Warning
cppcoreguidelines-pro-type-reinterpret-cast clang-tidy check Disabled
cppcoreguidelines-pro-type-static-cast-downcast clang-tidy check Suggestion
cppcoreguidelines-pro-type-union-access clang-tidy check Disabled
cppcoreguidelines-pro-type-vararg clang-tidy check Disabled
cppcoreguidelines-slicing clang-tidy check Warning
cppcoreguidelines-special-member-functions clang-tidy check Suggestion
google-build-explicit-make-pair clang-tidy check Disabled
google-build-namespaces clang-tidy check Warning
google-build-using-namespace clang-tidy check Disabled
google-default-arguments clang-tidy check Warning
google-explicit-constructor clang-tidy check Disabled
google-global-names-in-headers clang-tidy check Disabled
google-readability-braces-around-statements clang-tidy check Disabled
google-readability-casting clang-tidy check Disabled
google-readability-function-size clang-tidy check Disabled
google-readability-namespace-comments clang-tidy check Disabled
google-readability-redundant-smartptr-get clang-tidy check Suggestion
google-readability-todo clang-tidy check Disabled
google-runtime-int clang-tidy check Disabled
google-runtime-member-string-references clang-tidy check Warning
google-runtime-operator clang-tidy check Warning
google-runtime-references clang-tidy check Disabled
hicpp-braces-around-statements clang-tidy check Disabled
hicpp-deprecated-headers clang-tidy check Warning
hicpp-exception-baseclass clang-tidy check Suggestion
hicpp-explicit-conversions clang-tidy check Disabled
hicpp-function-size clang-tidy check Disabled
hicpp-invalid-access-moved clang-tidy check Warning
hicpp-member-init clang-tidy check Warning
hicpp-move-const-arg clang-tidy check Warning
hicpp-named-parameter clang-tidy check Disabled
hicpp-new-delete-operators clang-tidy check Warning
hicpp-no-array-decay clang-tidy check Disabled
hicpp-no-assembler clang-tidy check Disabled
hicpp-noexcept-move clang-tidy check Disabled
hicpp-no-malloc clang-tidy check Disabled
hicpp-signed-bitwise clang-tidy check Warning
hicpp-special-member-functions clang-tidy check Suggestion
hicpp-static-assert clang-tidy check Suggestion
hicpp-undelegated-constructor clang-tidy check Warning
hicpp-use-auto clang-tidy check Suggestion
hicpp-use-emplace clang-tidy check Suggestion
hicpp-use-equals-default clang-tidy check Suggestion
hicpp-use-equals-delete clang-tidy check Suggestion
hicpp-use-noexcept clang-tidy check Suggestion
hicpp-use-nullptr clang-tidy check Disabled
hicpp-use-override clang-tidy check Disabled
hicpp-vararg clang-tidy check Disabled
llvm-header-guard clang-tidy check Disabled
llvm-include-order clang-tidy check Disabled
llvm-namespace-comment clang-tidy check Disabled
llvm-twine-local clang-tidy check Disabled
misc-argument-comment clang-tidy check Suggestion
misc-assert-side-effect clang-tidy check Warning
misc-bool-pointer-implicit-conversion clang-tidy check Disabled
misc-dangling-handle clang-tidy check Warning
misc-definitions-in-headers clang-tidy check Disabled
misc-fold-init-type clang-tidy check Warning
misc-forward-declaration-namespace clang-tidy check Warning
misc-forwarding-reference-overload clang-tidy check Warning
misc-inaccurate-erase clang-tidy check Warning
misc-incorrect-roundings clang-tidy check Warning
misc-inefficient-algorithm clang-tidy check Suggestion
misc-lambda-function-name clang-tidy check Warning
misc-macro-parentheses clang-tidy check Warning
misc-macro-repeated-side-effects clang-tidy check Warning
misc-misplaced-const clang-tidy check Warning
misc-misplaced-widening-cast clang-tidy check Warning
misc-move-const-arg clang-tidy check Warning
misc-move-constructor-init clang-tidy check Warning
misc-move-forwarding-reference clang-tidy check Warning
misc-multiple-statement-macro clang-tidy check Warning
misc-new-delete-overloads clang-tidy check Warning
misc-noexcept-move-constructor clang-tidy check Disabled
misc-non-copyable-objects clang-tidy check Warning
misc-redundant-expression clang-tidy check Warning
misc-sizeof-container clang-tidy check Warning
misc-sizeof-expression clang-tidy check Warning
misc-static-assert clang-tidy check Suggestion
misc-string-compare clang-tidy check Warning
misc-string-constructor clang-tidy check Warning
misc-string-integer-assignment clang-tidy check Warning
misc-string-literal-with-embedded-nul clang-tidy check Warning
misc-suspicious-enum-usage clang-tidy check Warning
misc-suspicious-missing-comma clang-tidy check Warning
misc-suspicious-semicolon clang-tidy check Warning
misc-suspicious-string-compare clang-tidy check Warning
misc-swapped-arguments clang-tidy check Warning
misc-throw-by-value-catch-by-reference clang-tidy check Warning
misc-unconventional-assign-operator clang-tidy check Warning
misc-undelegated-constructor clang-tidy check Warning
misc-uniqueptr-reset-release clang-tidy check Suggestion
misc-unused-alias-decls clang-tidy check Suggestion
misc-unused-parameters clang-tidy check Disabled
misc-unused-raii clang-tidy check Warning
misc-unused-using-decls clang-tidy check Suggestion
misc-use-after-move clang-tidy check Warning
misc-virtual-near-miss clang-tidy check Suggestion
modernize-avoid-bind clang-tidy check Suggestion
modernize-deprecated-headers clang-tidy check Suggestion
modernize-loop-convert clang-tidy check Suggestion
modernize-make-shared clang-tidy check Disabled
modernize-make-unique clang-tidy check Disabled
modernize-pass-by-value clang-tidy check Suggestion
modernize-raw-string-literal clang-tidy check Suggestion
modernize-redundant-void-arg clang-tidy check Disabled
modernize-replace-auto-ptr clang-tidy check Suggestion
modernize-replace-random-shuffle clang-tidy check Suggestion
modernize-return-braced-init-list clang-tidy check Suggestion
modernize-shrink-to-fit clang-tidy check Suggestion
modernize-unary-static-assert clang-tidy check Suggestion
modernize-use-auto clang-tidy check Suggestion
modernize-use-bool-literals clang-tidy check Suggestion
modernize-use-default-member-init clang-tidy check Disabled
modernize-use-emplace clang-tidy check Suggestion
modernize-use-equals-default clang-tidy check Suggestion
modernize-use-equals-delete clang-tidy check Suggestion
modernize-use-noexcept clang-tidy check Suggestion
modernize-use-nullptr clang-tidy check Disabled
modernize-use-override clang-tidy check Disabled
modernize-use-transparent-functors clang-tidy check Suggestion
modernize-use-using clang-tidy check Disabled
mpi-buffer-deref clang-tidy check Warning
mpi-type-mismatch clang-tidy check Warning
objc-forbidden-subclassing clang-tidy check Warning
performance-faster-string-find clang-tidy check Suggestion
performance-for-range-copy clang-tidy check Suggestion
performance-implicit-conversion-in-loop clang-tidy check Suggestion
performance-inefficient-string-concatenation clang-tidy check Suggestion
performance-inefficient-vector-operation clang-tidy check Suggestion
performance-type-promotion-in-math-fn clang-tidy check Suggestion
performance-unnecessary-copy-initialization clang-tidy check Suggestion
performance-unnecessary-value-param clang-tidy check Suggestion
readability-avoid-const-params-in-decls clang-tidy check Suggestion
readability-braces-around-statements clang-tidy check Disabled
readability-container-size-empty clang-tidy check Suggestion
readability-deleted-default clang-tidy check Warning
readability-delete-null-pointer clang-tidy check Suggestion
readability-else-after-return clang-tidy check Disabled
readability-function-size clang-tidy check Disabled
readability-identifier-naming clang-tidy check Disabled
readability-implicit-bool-conversion clang-tidy check Disabled
readability-inconsistent-declaration-parameter-name clang-tidy check Suggestion
readability-misleading-indentation clang-tidy check Suggestion
readability-misplaced-array-index clang-tidy check Suggestion
readability-named-parameter clang-tidy check Disabled
readability-non-const-parameter clang-tidy check Suggestion
readability-redundant-control-flow clang-tidy check Disabled
readability-redundant-declaration clang-tidy check Suggestion
readability-redundant-function-ptr-dereference clang-tidy check Suggestion
readability-redundant-member-init clang-tidy check Suggestion
readability-redundant-smartptr-get clang-tidy check Suggestion
readability-redundant-string-cstr clang-tidy check Suggestion
readability-redundant-string-init clang-tidy check Suggestion
readability-simplify-boolean-expr clang-tidy check Suggestion
readability-static-accessed-through-instance clang-tidy check Suggestion
readability-static-definition-in-anonymous-namespace clang-tidy check Disabled
readability-uniqueptr-delete-release clang-tidy check Suggestion

Common Practices and Code Improvements (15 inspections)

This category groups inspections that hunt for medium severity issues that mainly affect code readability.
InspectionDefault Severity
Compile-time constant expression can be replaced with either 'true' or 'false' Suggestion
Constructor of smart pointer used instead of its make function Suggestion
C-style cast used instead of a C++ cast Suggestion
Function returns by const value Suggestion
Local variable may be 'const' Suggestion
Member function may be 'const' Suggestion
Member function may be 'static' Suggestion
Non-explicit conversion operator Hint
Non-explicit converting constructor Hint
Order of member initializers does not match the initialization order Suggestion
Overriding function without 'override' specifier Suggestion
Parameter may be 'const' Hint
Result of a postfix operator is discarded Suggestion
Throw expression can be replaced with a rethrow expression Warning
Zero constant can be replaced with nullptr Suggestion

Compiler Warnings (10 inspections)

Inspections in this section detect compiler warnings before you compile.
InspectionDefault Severity
Default initialization of a const-qualified object of a type without a user-provided default constructor Warning
Explicit specialization in non-namespace scope Warning
Redeclaration of a template parameter from an outer scope Warning
Reference class member with 'mutable' specifier Warning
Static assertion failure Error
Unexpected syntax element Warning
Uninitialized dependent base class Warning
Union member of reference type Warning
Use of an incomplete type inside a template Warning
User-defined literal suffixes must start with an underscore Warning

Constraints Violations (1 inspection)

This category includes code inspections, mostly with the warning severity level, which detect violations related to symbol attributes, including ReSharper's code annotations, and other similar issues.
InspectionDefault Severity
Inconsistent Naming Hint

Potential Code Quality Issues (83 inspections)

This category includes inspections that detect critical issues (code smells), mostly with Error or Warning level. This category also includes inspections that ensure localization assistance.
InspectionDefault Severity
Adding cv-qualifiers to references has no effect Warning
Assigned value is never used Warning
Backslash and newline separated by space Warning
Bad format code for boost::format Warning
Binary operator acts on equal operands Warning
Binary operator acts on identical operands Warning
Binding r-value to l-value reference is non-standard Microsoft C++ extension Warning
Call to a virtual function inside a constructor/destructor will be statically resolved Warning
Call to a virtual function inside a constructor/destructor will result in a pure virtual function call Error
Casting from nullptr to pointer type with reinterpret_cast is non-standard Microsoft C++ extension Warning
Class is never used Warning
Class member function hiding a non-virtual function from a base class Warning
Class needs a user-defined constructor because of an uninitialized data member Warning
Declaration does not declare anything Warning
Declaration of a non-overriding virtual function in a final or sealed class Warning
Declaration specifier with no declarators Warning
Declarator disambiguated as a function declaration Warning
Declarator is never used Warning
Declarator is only assigned but never accessed Warning
Declarator is reassigned in all paths before being read Warning
Declarator is used only in unevaluated context Warning
Default case is not handled in a switch statement Warning
Deleting a void pointer Warning
Dependent template without 'template' keyword Warning
Dependent type without 'typename' keyword Warning
Deprecated register storage class specifier Warning
Dereference operator limit is exceeded Warning
Entity is deprecated Warning
Enumerator is never used Warning
Expression which evaluates to zero is used as a null pointer constant Warning
Function is not implemented Warning
Hiding local declaration Warning
Implicit conversion to incompatible pointer type Warning
Implicit conversion to less qualified pointer type Warning
Implicit default constructor is not available Warning
Implicit integer to pointer conversion Warning
Implicit pointer to integer conversion Warning
Incrementing expression of type bool Warning
Invalid printf format specifier Warning
Keyword 'default' is used as identifier Warning
Legacy format code for boost::format Suggestion
Local variable is never used, but may have side-effects in its destructor Disabled
Local variable might not be initialized Warning
Local variable used without being initialized Error
Mismatched class tags Warning
Missing include guard Warning
Missing parameter documentation in doxygen comment Suggestion
Mixed serial and positional arguments for boost::format Error
More than one implicit conversion applied during copy-initialization. This is non-standard Microsoft C++ extension Warning
No return statement in a function returning non-void Warning
Non-consistent resource acquisition-reclaim pair Warning
Non-inline function definition in a header file Warning
Non-inline variable definition in a header file Warning
Non-reclaimed resource acquisition Hint
Non-safe resource acquisition Hint
Non-static data member is unitialized Warning
Non-virtual class member function hidden in a derived class Warning
Not all control paths return a value Warning
Not enough arguments in a call to boost::format Error
Not enough arguments in a call to printf Error
Object member might not be initialized Warning
Parameter is always rewritten in function body before being read Warning
Parameter is never used Hint
Polymorphic class with non-virtual public destructor Warning
Possibly erroneous empty-statements Warning
Possibly erroneous expression without side-effects Warning
Possibly erroneous incomplete switch-statement Warning
Possibly uninitialized class member Warning
Possibly unintended object slicing Warning
Possibly unused #include directive Warning
Private special member function is not implemented Warning
Probably invalid printf format specifier Warning
Probably unintended incompatible reference type in range declaration Warning
Slash symbol used in #include directive doesn't match code style settings Hint
Some object members might not be initialized Warning
Static data member in an anonymous class is not allowed by the C++ standard Warning
Syntax error in doxygen comment Warning
Taking an address of class r-value is non-standard Microsoft C++ extension Warning
Too many arguments in a call to boost::format Warning
Too many arguments in a call to printf Warning
Unresolved reference in doxygen comment Warning
Unused result of a nodiscard function Warning
Using the result of an assignment as a condition Warning

Redundancies in Code (24 inspections)

Code inspections in this category look for redundancies and dead code, which affect code readability and style, and could be safely removed. Some code redundancies cannot be fixed automatically, and quick-fixes for them are performed in the interactive mode, requiring the user input. But the majority of the redundancies can be fixed without user interaction, using either fix in scope or code cleanup.
InspectionDefault Severity
Access specifier does not affect any declaration Suggestion
Access specifier does not change accessibility level Hint
Declaration and assignment can be joined Suggestion
Guarded header has already been included Hint
Move operation without noexcept specification Warning
Qualifier is redundant Hint
Redundant argument in conditional expression Warning
Redundant base class access specifier Hint
Redundant control flow jump statement Hint
Redundant 'else' keyword Hint
Redundant 'else' keyword inside compound statement Hint
Redundant empty declaration Hint
Redundant empty statement Hint
Redundant 'inline' specifier Hint
Redundant member initializer in constructor initialization list Suggestion
Redundant parentheses Hint
Redundant 'static' specifier on a member allocation/deallocation function Hint
Redundant 'static' specifier on an anonymous namespace member Suggestion
Redundant 'template' keyword Warning
Redundant 'typename' keyword Warning
Redundant 'virtual' specifier on an override function Hint
Redundant void argument list Suggestion
Unreachable code Warning
Use 'auto' Hint
Last modified: 7 December 2017