Rust: expand attribute macros

This commit is contained in:
Paolo Tranquilli
2025-04-17 18:09:15 +02:00
committed by Paolo Tranquilli
parent 3437210d32
commit 49cf1739a4
66 changed files with 16543 additions and 1354 deletions

View File

@@ -0,0 +1,7 @@
class Element extends @element {
string toString() { none() }
}
query predicate new_macro_call_expandeds(Element id, Element expanded) {
item_expandeds(id, expanded) and macro_calls(id)
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
description: Move `expanded` back from all `@item`s to `@macro_call`s only
compatibility: backwards
item_expandeds.rel: delete
macro_call_expandeds.rel: run downgrade.ql new_macro_call_expandeds