@@ -46,12 +46,8 @@ object VerifStmtMacrosCompat {
4646
4747 /** @group VerifPrintMacros */
4848 def _applyMacroWithInterpolatorCheck (
49- c : blackbox.Context
50- )(cond : c.Tree ,
51- message : c.Tree ,
52- data : c.Tree *
53- )(sourceInfo : c.Tree
54- ): c.Tree = {
49+ c : blackbox.Context
50+ )(cond : c.Tree , message : c.Tree , data : c.Tree * )(sourceInfo : c.Tree ): c.Tree = {
5551 import c .universe ._
5652 _checkFormatString(c)(message)
5753 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
@@ -60,35 +56,26 @@ object VerifStmtMacrosCompat {
6056
6157 /** @group VerifPrintMacros */
6258 def _applyMacroWithStringMessage (
63- c : blackbox.Context
64- )(cond : c.Tree ,
65- message : c.Tree ,
66- data : c.Tree
67- )(sourceInfo : c.Tree
68- ): c.Tree = {
59+ c : blackbox.Context
60+ )(cond : c.Tree , message : c.Tree , data : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
6961 import c .universe ._
7062 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
7163 q " $apply_impl_do( $cond, ${getLine(c)},_root_.scala.Some(_root_.chisel3.Printable.pack( $message,.. $data)))( $sourceInfo) "
7264 }
7365
7466 /** @group VerifPrintMacros */
7567 def _applyMacroWithPrintableMessage (
76- c : blackbox.Context
77- )(cond : c.Tree ,
78- message : c.Tree
79- )(sourceInfo : c.Tree
80- ): c.Tree = {
68+ c : blackbox.Context
69+ )(cond : c.Tree , message : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
8170 import c .universe ._
8271 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
8372 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.Some( $message))( $sourceInfo) "
8473 }
8574
8675 /** @group VerifPrintMacros */
8776 def _applyMacroWithNoMessage (
88- c : blackbox.Context
89- )(cond : c.Tree
90- )(sourceInfo : c.Tree
91- ): c.Tree = {
77+ c : blackbox.Context
78+ )(cond : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
9279 import c .universe ._
9380 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
9481 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.None)( $sourceInfo) "
@@ -127,12 +114,8 @@ object VerifStmtMacrosCompat {
127114
128115 /** @group VerifPrintMacros */
129116 def _applyMacroWithInterpolatorCheck (
130- c : blackbox.Context
131- )(cond : c.Tree ,
132- message : c.Tree ,
133- data : c.Tree *
134- )(sourceInfo : c.Tree
135- ): c.Tree = {
117+ c : blackbox.Context
118+ )(cond : c.Tree , message : c.Tree , data : c.Tree * )(sourceInfo : c.Tree ): c.Tree = {
136119 import c .universe ._
137120 _checkFormatString(c)(message)
138121 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
@@ -141,35 +124,26 @@ object VerifStmtMacrosCompat {
141124
142125 /** @group VerifPrintMacros */
143126 def _applyMacroWithStringMessage (
144- c : blackbox.Context
145- )(cond : c.Tree ,
146- message : c.Tree ,
147- data : c.Tree
148- )(sourceInfo : c.Tree
149- ): c.Tree = {
127+ c : blackbox.Context
128+ )(cond : c.Tree , message : c.Tree , data : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
150129 import c .universe ._
151130 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
152131 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.Some(_root_.chisel3.Printable.pack( $message, .. $data)))( $sourceInfo) "
153132 }
154133
155134 /** @group VerifPrintMacros */
156135 def _applyMacroWithPrintableMessage (
157- c : blackbox.Context
158- )(cond : c.Tree ,
159- message : c.Tree
160- )(sourceInfo : c.Tree
161- ): c.Tree = {
136+ c : blackbox.Context
137+ )(cond : c.Tree , message : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
162138 import c .universe ._
163139 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
164140 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.Some( $message))( $sourceInfo) "
165141 }
166142
167143 /** @group VerifPrintMacros */
168144 def _applyMacroWithNoMessage (
169- c : blackbox.Context
170- )(cond : c.Tree
171- )(sourceInfo : c.Tree
172- ): c.Tree = {
145+ c : blackbox.Context
146+ )(cond : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
173147 import c .universe ._
174148 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLinePrintable" ))
175149 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.None)( $sourceInfo) "
@@ -199,22 +173,17 @@ object VerifStmtMacrosCompat {
199173
200174 /** @group VerifPrintMacros */
201175 def _applyMacroWithNoMessage (
202- c : blackbox.Context
203- )(cond : c.Tree
204- )(sourceInfo : c.Tree
205- ): c.Tree = {
176+ c : blackbox.Context
177+ )(cond : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
206178 import c .universe ._
207179 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLine" ))
208180 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.None)( $sourceInfo) "
209181 }
210182
211183 /** @group VerifPrintMacros */
212184 def _applyMacroWithMessage (
213- c : blackbox.Context
214- )(cond : c.Tree ,
215- message : c.Tree
216- )(sourceInfo : c.Tree
217- ): c.Tree = {
185+ c : blackbox.Context
186+ )(cond : c.Tree , message : c.Tree )(sourceInfo : c.Tree ): c.Tree = {
218187 import c .universe ._
219188 val apply_impl_do = symbolOf[this .type ].asClass.module.info.member(TermName (" _applyWithSourceLine" ))
220189 q " $apply_impl_do( $cond, ${getLine(c)}, _root_.scala.Some( $message))( $sourceInfo) "
0 commit comments