File tree Expand file tree Collapse file tree 1 file changed +32
-4
lines changed
Expand file tree Collapse file tree 1 file changed +32
-4
lines changed Original file line number Diff line number Diff line change @@ -245,23 +245,51 @@ trap_filename(
245245 string filename: string ref
246246);
247247
248+ /**
249+ * Gives the tag name for `tag`.
250+ * For debugging only.
251+ */
252+ tag_name(
253+ int tag: @tag,
254+ string name: string ref
255+ );
256+
257+ @trap_or_tag = @tag | @trap;
258+
259+ /**
260+ * Gives the name for the source file.
261+ */
262+ source_file_name(
263+ int sf: @source_file,
264+ string name: string ref
265+ );
266+
248267/**
249268 * In `build-mode: none` overlay mode, indicates that `source_file`
250269 * (`/path/to/foo.c`) uses the TRAP file `trap_file`; i.e. it is the
251270 * TRAP file corresponding to `foo.c`, something it transitively
252271 * includes, or a template instantiation it transitively uses.
253272 */
254273source_file_uses_trap(
255- string source_file: string ref,
274+ int source_file: @source_file ref,
256275 int trap_file: @trap ref
257276);
258277
259278/**
260- * Holds if there is a definition of `element` in TRAP file `trap_file`.
279+ * In `build-mode: none` overlay mode, indicates that the TRAP file
280+ * `trap_file` uses tag `tag`.
281+ */
282+ trap_uses_tag(
283+ int trap_file: @trap ref,
284+ int tag: @tag ref
285+ );
286+
287+ /**
288+ * Holds if there is a definition of `element` in TRAP file or tag `t`.
261289 */
262- in_trap (
290+ in_trap_or_tag (
263291 int element: @element ref,
264- int trap_file : @trap ref
292+ int t : @trap_or_tag ref
265293);
266294
267295pch_uses(
You can’t perform that action at this time.
0 commit comments