You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Generated Content

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

Version number:
3.9

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
-WexceptionsERR53-CPP. Do not reference base classes or class data members in a constructor or destructor function-try-block handler
-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
-Wmismatched-new-deleteMEM51-CPP. Properly deallocate dynamically allocated resources
-WreorderOOP53-CPP. Write constructor member initializers in the canonical order
-Wreserved-id-macroDCL51-CPP. Do not declare or define a reserved identifier
-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
-WuninitializedEXP53-CPP. Do not read uninitialized memory
-WunsequencedEXP50-CPP. Do not depend on the order of evaluation for side effects
-Wuser-defined-literalsDCL51-CPP. Do not declare or define a reserved identifier
-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
cert-dcl50-cppDCL50-CPP. Do not define a C-style variadic function
cert-err52-cppERR52-CPP. Do not use setjmp() or longjmp()
cert-err61-cppERR61-CPP. Catch exceptions by lvalue reference
clang-analyzer-alpha.cplusplus.VirtualCallOOP50-CPP. Do not invoke virtual functions from constructors or destructors
clang-analyzer-alpha.security.ArrayBoundV2MEM50-CPP. Do not access freed memory
clang-analyzer-core.UndefinedBinaryOperatorResultEXP53-CPP. Do not read uninitialized memory
clang-analyzer-cplusplus.NewDeleteMEM50-CPP. Do not access freed memory
clang-analyzer-cplusplus.NewDeleteLeaksMEM51-CPP. Properly deallocate dynamically allocated resources
clang-analyzer-unix.MismatchedDeallocatorMEM51-CPP. Properly deallocate dynamically allocated resources
google-build-namespacesDCL59-CPP. Do not define an unnamed namespace in a header file
misc-move-constructor-initOOP11-CPP. Do not copy-initialize members or base classes from a move constructor
misc-new-delete-overloadsDCL54-CPP. Overload allocation and deallocation functions as a pair in the same scope

>

  • No labels