File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
test/query-tests/Diagnostics Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11/**
2- * @name Successfully extracted files
3- * @description Lists all files in the source code directory that were extracted without encountering a problem in the file .
2+ * @name Extracted files
3+ * @description Lists all files in the source code directory that were extracted.
44 * @kind diagnostic
55 * @id cpp/diagnostics/successfully-extracted-files
66 * @tags successfully-extracted-files
77 */
88
99import cpp
10- import ExtractionProblems
1110
1211from File f
13- where
14- not exists ( ExtractionProblem e | e .getFile ( ) = f ) and
15- exists ( f .getRelativePath ( ) )
12+ where exists ( f .getRelativePath ( ) ) and f .fromSource ( )
1613select f , "File successfully extracted."
Original file line number Diff line number Diff line change 11| containserror.cpp:0:0:0:0 | containserror.cpp | File successfully extracted. |
22| containswarning.cpp:0:0:0:0 | containswarning.cpp | File successfully extracted. |
3+ | doesnotcompile.cpp:0:0:0:0 | doesnotcompile.cpp | File successfully extracted. |
34| header.h:0:0:0:0 | header.h | File successfully extracted. |
45| successful.cpp:0:0:0:0 | successful.cpp | File successfully extracted. |
You can’t perform that action at this time.
0 commit comments