This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:
v3.5

Checker

Guideline

DCL52-CPP. Never qualify a reference type with const or volatile
-Wdangling-initializer-listEXP54-CPP. Do not access an object outside of its lifetime
-Wdelete-incompleteEXP57-CPP. Do not cast or delete pointers to incomplete classes
-Wdelete-non-virtual-dtorOOP52-CPP. Do not delete a polymorphic object without a virtual destructor
-Wdynamic-class-memaccessEXP60-CPP. Do not pass a nonstandard-layout type object across execution boundaries
-WexceptionsERR54-CPP. Catch handlers should order their parameter types from most derived to least derived
-Winvalid-noreturnDCL57-CPP. Functions declared with [[noreturn]] must return void
-Winvalid-noreturnMSC55-CPP. Do not return from a function declared [[noreturn]]
-Winvalid-offsetofEXP59-CPP. Use offsetof() on valid types and members
-WreorderOOP53-CPP. Write constructor member initializers in the canonical order
-Wreturn-typeMSC54-CPP. Value-returning functions must return a value from all exit paths
-Wunevaluated-expressionEXP52-CPP. Do not rely on side effects in unevaluated operands
-WvarargsEXP58-CPP. Do not pass a reference or nontrivially copyable type to va_start
-Wvexing-parseDCL53-CPP. Do not write syntactically ambiguous declarations
-analyzer-checker=cplusplusEXP51-CPP. Do not delete an array through a pointer of the incorrect type
clang-analyzer-alpha.cplusplus.VirtualCallOOP50-CPP. Do not invoke virtual functions from constructors or destructors

>