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 = {
102102 }
103103 }
104104 }
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+ }
105141 """
106142 ]
107-
143+
108144 for file in try ! FileManager . default. contentsOfDirectory (
109145 atPath: macrosDir. string
110146 ) {
Original file line number Diff line number Diff line change 2626 },
2727 "swift-stringify-macro.wasm" : {
2828 "repository" : " https://github.com/kateinoigakukun/swift-stringify-macro.wasm.git" ,
29- "revision" : " 93c35d1e00ece83a69ee7f318589c8b98b95adf5 " ,
29+ "revision" : " 576ef7ff3b9713d75519eab0cb1f2b738220b636 " ,
3030 "categories" : [" benchmark" ]
3131 },
3232 "coremark" : {
You can’t perform that action at this time.
0 commit comments