CodeQL library for C/C++
codeql/cpp-all 1.1.0 (changelog, source)
Search

Module Diagnostics

Provides classes representing warnings generated during compilation.

Import path

import semmle.code.cpp.Diagnostics

Imports

Location

Provides classes and predicates for locations in the source code.

Classes

CompilerCatastrophe

A compiler error that prevents compilation from continuing.

CompilerDiscretionaryError

A compiler-generated discretionary error (a compile-time error that may be suppressed).

CompilerError

A compiler error message.

CompilerRemark

A compiler-generated remark (milder than a warning).

CompilerWarning

A compiler-generated warning.

Diagnostic

A compiler-generated error, warning or remark.