Skip to content

Commit d34f7b9

Browse files
committed
C++: Address code review.
1 parent e821b8b commit d34f7b9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
/**
22
* @name Failed extractor invocations
33
* @description Gives the command line of compilations for which extraction did not run to completion.
4-
* @kind table
4+
* @kind diagnostic
55
* @id cpp/diagnostics/failed-extractor-invocations
66
*/
77

88
import cpp
99

10-
class AnonymousCompilation extends Compilation {
11-
override string toString() { result = "<compilation>" }
12-
}
13-
1410
string describe(Compilation c) {
1511
if c.getArgument(1) = "--mimic"
1612
then result = "compiler invocation " + concat(int i | i > 1 | c.getArgument(i), " " order by i)
@@ -19,4 +15,4 @@ string describe(Compilation c) {
1915

2016
from Compilation c
2117
where not c.normalTermination()
22-
select c, "Extraction aborted for " + describe(c)
18+
select "Extraction aborted for " + describe(c)

0 commit comments

Comments
 (0)