Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleGenerated Content

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

Version number:
v3.5

C++ checkers

Rule

-Wdelete-incomplete

EXP39-CPP. Do not cast or delete pointers to incomplete classes

-Winvalid-noreturn

[DCL39-CPP. Functions declared with [noreturn] must return void ]

-Winvalid-noreturn

[MSC37-CPP. Do not return from a function declared [noreturn] ]

-Wreturn-type

MSC36-CPP. Value-returning functions must return a value from all exit paths

-Wunevaluated-expression

EXP32-CPP. Do not rely on side effects in unevaluated operands

-Wvarargs

EXP40-CPP. Do not pass a reference or nontrivially-copyable type to va_start

>8.1p0