@@ -130,8 +130,8 @@ class SwiftDispatcher {
130130 // If the AST node was not emitted yet, then the emission is dispatched to a corresponding
131131 // visitor (see `visit(T *)` methods below).
132132 template <typename E>
133- requires std::constructible_from<Handle, E> TrapLabelOf<E> fetchLabel ( const E& e,
134- swift::Type type = {}) {
133+ requires std::constructible_from<Handle, E>
134+ TrapLabelOf<E> fetchLabel ( const E& e, swift::Type type = {}) {
135135 if constexpr (std::constructible_from<bool , const E&>) {
136136 if (!e) {
137137 // this will be treated on emission
@@ -163,7 +163,8 @@ class SwiftDispatcher {
163163 }
164164
165165 template <typename E>
166- requires std::constructible_from<Handle, E*> TrapLabelOf<E> fetchLabel (const E& e) {
166+ requires std::constructible_from<Handle, E*>
167+ TrapLabelOf<E> fetchLabel (const E& e) {
167168 return fetchLabel (&e);
168169 }
169170
@@ -327,7 +328,10 @@ class SwiftDispatcher {
327328 virtual void visit (const swift::CapturedValue* capture) = 0;
328329
329330 template <typename T>
330- requires (!std::derived_from<T, swift::TypeRepr>) void visit (const T* e, swift::Type) { visit (e); }
331+ requires (!std::derived_from<T, swift::TypeRepr>)
332+ void visit (const T* e, swift::Type) {
333+ visit (e);
334+ }
331335
332336 const swift::SourceManager& sourceManager;
333337 SwiftExtractorState& state;
0 commit comments