From 861c236daef3ba9ce36f723381e5888b8fe527ff Mon Sep 17 00:00:00 2001 From: Jeroen Ketema Date: Wed, 12 Nov 2025 11:44:12 +0100 Subject: [PATCH] C++: Add table for expanded compilation arguments --- cpp/ql/lib/semmlecode.cpp.dbscheme | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/cpp/ql/lib/semmlecode.cpp.dbscheme b/cpp/ql/lib/semmlecode.cpp.dbscheme index 2121ffec11f..1a6854060d5 100644 --- a/cpp/ql/lib/semmlecode.cpp.dbscheme +++ b/cpp/ql/lib/semmlecode.cpp.dbscheme @@ -47,6 +47,19 @@ compilation_args( string arg : string ref ); +/** + * The expanded arguments that were passed to the extractor for a + * compiler invocation. This is similar to `compilation_args`, but + * for a `@someFile` argument, it includes the arguments from that + * file, rather than just taking the argument literally. + */ +#keyset[id, num] +compilation_expanded_args( + int id : @compilation ref, + int num : int ref, + string arg : string ref +); + /** * Optionally, record the build mode for each compilation. */