mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Rust: expand attribute macros
This commit is contained in:
committed by
Paolo Tranquilli
parent
3437210d32
commit
49cf1739a4
@@ -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
@@ -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
|
||||
Reference in New Issue
Block a user