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

Member predicate Diagnostic::getSeverity

Gets the severity of the message, on a range from 1 to 5: 1=remark, 2=warning, 3=discretionary error, 4=error, 5=catastrophic error.

int getSeverity()