Skip to content

Commit e9b00f1

Browse files
committed
C++: Add tables that represent the creation and use of PCH files
This allows a use to be linked to a creation.
1 parent d5f4a39 commit e9b00f1

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
@@ -222,6 +222,19 @@ extractor_version(
222222
string frontend_version: string ref
223223
)
224224

225+
pch_uses(
226+
int pch: @pch ref,
227+
int compilation: @compilation ref,
228+
int id: @file ref
229+
)
230+
231+
#keyset[pch, compilation]
232+
pch_creations(
233+
int pch: @pch,
234+
int compilation: @compilation ref,
235+
int from: @file ref
236+
)
237+
225238
/** An element for which line-count information is available. */
226239
@sourceline = @file | @function | @variable | @enumconstant | @xmllocatable;
227240

0 commit comments

Comments
 (0)