mirror of
https://github.com/github/codeql.git
synced 2026-01-05 02:30:19 +01:00
19 lines
546 B
Plaintext
19 lines
546 B
Plaintext
/**
|
|
* @name Extraction warnings
|
|
* @description List all extraction warnings for files in the source code directory.
|
|
* @kind diagnostic
|
|
* @id cpp/diagnostics/extraction-warnings
|
|
*/
|
|
|
|
import cpp
|
|
import ExtractionProblems
|
|
|
|
from ExtractionProblem warning
|
|
where
|
|
warning instanceof ExtractionRecoverableWarning and exists(warning.getFile().getRelativePath())
|
|
or
|
|
warning instanceof ExtractionUnknownProblem
|
|
select warning,
|
|
"Extraction failed in " + warning.getFile() + " with warning " + warning.getProblemMessage(),
|
|
warning.getSeverity()
|