File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,34 @@ extractor_version(
236236 string frontend_version: string ref
237237)
238238
239+ /**
240+ * Gives the TRAP filename that `trap` is associated with.
241+ * For debugging only.
242+ */
243+ trap_filename(
244+ int trap: @trap,
245+ string filename: string ref
246+ );
247+
248+ /**
249+ * In `build-mode: none` overlay mode, indicates that `source_file`
250+ * (`/path/to/foo.c`) uses the TRAP file `trap_file`; i.e. it is the
251+ * TRAP file corresponding to `foo.c`, something it transitively
252+ * includes, or a template instantiation it transitively uses.
253+ */
254+ source_file_uses_trap(
255+ string source_file: string ref,
256+ int trap_file: @trap ref
257+ );
258+
259+ /**
260+ * Holds if there is a definition of `element` in TRAP file `trap_file`.
261+ */
262+ in_trap(
263+ int element: @element ref,
264+ int trap_file: @trap ref
265+ );
266+
239267pch_uses(
240268 int pch: @pch ref,
241269 int compilation: @compilation ref,
You can’t perform that action at this time.
0 commit comments