Files
codeql/cpp/ql/src/Diagnostics/SuccessfullyExtractedFiles.ql
Cornelius Riemenschneider 668841cefa C++: Rename diagnostic queries.
2021-03-22 11:13:49 +01:00

16 lines
394 B
Plaintext

/**
* @name Successfully extracted files
* @description Lists all files in the source code directory that were extracted without encountering an error in the file.
* @kind diagnostic
* @id cpp/diagnostics/successfully-extracted-files
*/
import cpp
import ExtractionErrors
from File f
where
not exists(ExtractionError e | e.getFile() = f) and
exists(f.getRelativePath())
select f, ""