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

Compare with Current View Page History

« Previous Version 3 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:
v3.5

C++ checkers

Rule

-Wdelete-incomplete

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

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

-Wunevaluated-expression

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

-Wvarargs

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

>

  • No labels