Skip to content

Commit 22bd101

Browse files
committed
Swift: insert blank line between doc and desc
1 parent b65f49b commit 22bd101

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

swift/codegen/templates/ql_class.mustache

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ module Generated {
7373
}
7474

7575
/**
76-
* {{>ql_property_doc}}{{#has_description}}{{#description}} * {{.}}
76+
* {{>ql_property_doc}} *
77+
{{#has_description}}
78+
{{#description}}
79+
* {{.}}
7780
{{/description}}
7881
{{/has_description}}
7982
*/
@@ -85,7 +88,10 @@ module Generated {
8588
{{^type_is_class}}
8689
{{^is_predicate}}
8790
/**
88-
* {{>ql_property_doc}}{{#has_description}}{{#description}} * {{.}}
91+
* {{>ql_property_doc}} *
92+
{{#has_description}}
93+
{{#description}}
94+
* {{.}}
8995
{{/description}}
9096
{{/has_description}}
9197
*/

swift/ql/lib/codeql/swift/generated/Callable.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module Generated {
7171

7272
/**
7373
* Gets the body of this callable, if it exists.
74+
*
7475
* The body is absent within protocol declarations.
7576
*/
7677
final BraceStmt getBody() { result = getImmediateBody().resolve() }

swift/ql/lib/codeql/swift/generated/decl/ConcreteVarDecl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module Generated {
99

1010
/**
1111
* Gets the introducer enumeration value.
12+
*
1213
* This is 0 if the variable was introduced with `let` and 1 if it was introduced with `var`.
1314
*/
1415
int getIntroducerInt() {

0 commit comments

Comments
 (0)