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 1
1
/**
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.
4
4
* @kind diagnostic
5
5
* @id cpp/diagnostics/successfully-extracted-files
6
6
* @tags successfully-extracted-files
7
7
*/
8
8
9
9
import cpp
10
- import ExtractionProblems
11
10
12
11
from 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 ( )
16
13
select f , "File successfully extracted."
Original file line number Diff line number Diff line change 1
1
| containserror.cpp:0:0:0:0 | containserror.cpp | File successfully extracted. |
2
2
| containswarning.cpp:0:0:0:0 | containswarning.cpp | File successfully extracted. |
3
+ | doesnotcompile.cpp:0:0:0:0 | doesnotcompile.cpp | File successfully extracted. |
3
4
| header.h:0:0:0:0 | header.h | File successfully extracted. |
4
5
| successful.cpp:0:0:0:0 | successful.cpp | File successfully extracted. |
You can’t perform that action at this time.
0 commit comments