File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
Benchmarks/Benchmarks/MacroPlugin Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,45 @@ let benchmarks = {
102
102
}
103
103
}
104
104
}
105
+ """ ,
106
+ " MMIOMacros.wasm " : """
107
+ {
108
+ " expandAttachedMacro " : {
109
+ " attributeSyntax " : {
110
+ " kind " : " attribute " ,
111
+ " location " : {
112
+ " column " : 12,
113
+ " fileID " : " MMIOMacrosExample/main.swift " ,
114
+ " fileName " : " swift-mmio/Sources/MMIOMacrosExample/main.swift " ,
115
+ " line " : 1,
116
+ " offset " : 11
117
+ },
118
+ " source " : " \n @RegisterBlock "
119
+ },
120
+ " declSyntax " : {
121
+ " kind " : " declaration " ,
122
+ " location " : {
123
+ " column " : 12,
124
+ " fileID " : " MMIOMacrosExample/main.swift " ,
125
+ " fileName " : " swift-mmio/Sources/MMIOMacrosExample/main.swift " ,
126
+ " line " : 1,
127
+ " offset " : 11
128
+ },
129
+ " source " : " \n @RegisterBlock struct Example0 {} "
130
+ },
131
+ " discriminator " : " $s17MMIOMacrosExample8Example013RegisterBlockfMm_ " ,
132
+ " lexicalContext " : [],
133
+ " macro " : {
134
+ " moduleName " : " MMIOMacros " ,
135
+ " name " : " RegisterBlock " ,
136
+ " typeName " : " RegisterBlockMacro "
137
+ },
138
+ " macroRole " : " member "
139
+ }
140
+ }
105
141
"""
106
142
]
107
-
143
+
108
144
for file in try ! FileManager . default. contentsOfDirectory (
109
145
atPath: macrosDir. string
110
146
) {
Original file line number Diff line number Diff line change 26
26
},
27
27
"swift-stringify-macro.wasm" : {
28
28
"repository" : " https://github.com/kateinoigakukun/swift-stringify-macro.wasm.git" ,
29
- "revision" : " 93c35d1e00ece83a69ee7f318589c8b98b95adf5 " ,
29
+ "revision" : " 576ef7ff3b9713d75519eab0cb1f2b738220b636 " ,
30
30
"categories" : [" benchmark" ]
31
31
},
32
32
"coremark" : {
You can’t perform that action at this time.
0 commit comments