Skip to content

Commit 4a0eae6

Browse files
committed
C++: Add table for expanded compilation arguments
1 parent f1076b9 commit 4a0eae6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cpp/ql/lib/semmlecode.cpp.dbscheme

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@ compilation_args(
4747
string arg : string ref
4848
);
4949

50+
/**
51+
* The expanded arguments that were passed to the extractor for a
52+
* compiler invocation. This is similar to `compilation_args`, but
53+
* for a `@someFile` argument, it includes the arguments from that
54+
* file, rather than just taking the argument literally.
55+
*/
56+
#keyset[id, num]
57+
compilation_expanded_args(
58+
int id : @compilation ref,
59+
int num : int ref,
60+
string arg : string ref
61+
);
62+
5063
/**
5164
* Optionally, record the build mode for each compilation.
5265
*/

0 commit comments

Comments
 (0)