Skip to content

Commit

Permalink
requires clauses on their own line
Browse files Browse the repository at this point in the history
#style
  • Loading branch information
alandefreitas committed Jan 2, 2025
1 parent 963a387 commit c6cc73c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
{{#if refQualifier}} {{refQualifier}}{{/if~}}
{{#if exceptionSpec}} {{exceptionSpec}}{{/if~}}
{{#if (eq class "normal")}}{{>type/declarator-suffix return}}{{/if~}}
{{#if requires}} requires {{requires}}{{/if~}}
{{#if requires}}

requires {{requires}}{{/if~}}
{{#if hasOverrideAttr}} override{{/if~}}
{{#if isFinal}} final{{/if~}}
{{#if isPure}} = 0{{/if~}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
template{{ str '<' }}{{#each params}}{{#unless (and @first @last)}}
{{/unless}}{{>template/param~}}
{{#unless @last}},{{/unless~}}
{{/each}}{{ str '>' }}{{#if requires}} requires {{requires}}{{/if}}
{{/each}}{{ str '>' }}{{#if requires}}
requires {{requires}}{{/if}}

0 comments on commit c6cc73c

Please sign in to comment.