Skip to content

Commit e765146

Browse files
committed
C++: Fix QL formatting
1 parent 9d917fa commit e765146

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

‎cpp/ql/lib/semmle/code/cpp/exprs/BuiltInOperations.qll‎

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,11 +2054,13 @@ class BuiltInOperationIsStructural extends BuiltInOperation, @isstructural {
20542054
* implementations).
20552055
*
20562056
* Returns `true` if the `<` operator is synthesized from the spaceship operator `<=>`.
2057-
*
2057+
*
20582058
* ```
20592059
* bool v = __builtin_lt_synthesizes_from_spaceship(MyType, OtherType);
20602060
*/
2061-
class BuiltInOperationLtSynthesizesFromSpaceship extends BuiltInOperation, @ltsynthesizesfromspaceship {
2061+
class BuiltInOperationLtSynthesizesFromSpaceship extends BuiltInOperation,
2062+
@ltsynthesizesfromspaceship
2063+
{
20622064
override string toString() { result = "__builtin_lt_synthesizes_from_spaceship" }
20632065

20642066
override string getAPrimaryQlClass() { result = "BuiltInOperationLtSynthesizesFromSpaceship" }
@@ -2073,7 +2075,9 @@ class BuiltInOperationLtSynthesizesFromSpaceship extends BuiltInOperation, @ltsy
20732075
* ```
20742076
* bool v = __builtin_gt_synthesizes_from_spaceship(MyType, OtherType);
20752077
*/
2076-
class BuiltInOperationGtSynthesizesFromSpaceship extends BuiltInOperation, @gtsynthesizesfromspaceship {
2078+
class BuiltInOperationGtSynthesizesFromSpaceship extends BuiltInOperation,
2079+
@gtsynthesizesfromspaceship
2080+
{
20772081
override string toString() { result = "__builtin_gt_synthesizes_from_spaceship" }
20782082

20792083
override string getAPrimaryQlClass() { result = "BuiltInOperationGtSynthesizesFromSpaceship" }
@@ -2084,11 +2088,13 @@ class BuiltInOperationGtSynthesizesFromSpaceship extends BuiltInOperation, @gtsy
20842088
* implementations).
20852089
*
20862090
* Returns `true` if the `<=` operator is synthesized from the spaceship operator `<=>`.
2087-
*
2091+
*
20882092
* ```
20892093
* bool v = __builtin_le_synthesizes_from_spaceship(MyType, OtherType);
20902094
*/
2091-
class BuiltInOperationLeSynthesizesFromSpaceship extends BuiltInOperation, @lesynthesizesfromspaceship {
2095+
class BuiltInOperationLeSynthesizesFromSpaceship extends BuiltInOperation,
2096+
@lesynthesizesfromspaceship
2097+
{
20922098
override string toString() { result = "__builtin_le_synthesizes_from_spaceship" }
20932099

20942100
override string getAPrimaryQlClass() { result = "BuiltInOperationLeSynthesizesFromSpaceship" }
@@ -2099,11 +2105,13 @@ class BuiltInOperationLeSynthesizesFromSpaceship extends BuiltInOperation, @lesy
20992105
* implementations).
21002106
*
21012107
* Returns `true` if the `>=` operator is synthesized from the spaceship operator `<=>`.
2102-
*
2108+
*
21032109
* ```
21042110
* bool v = __builtin_ge_synthesizes_from_spaceship(MyType, OtherType);
21052111
*/
2106-
class BuiltInOperationGeSynthesizesFromSpaceship extends BuiltInOperation, @gesynthesizesfromspaceship {
2112+
class BuiltInOperationGeSynthesizesFromSpaceship extends BuiltInOperation,
2113+
@gesynthesizesfromspaceship
2114+
{
21072115
override string toString() { result = "__builtin_ge_synthesizes_from_spaceship" }
21082116

21092117
override string getAPrimaryQlClass() { result = "BuiltInOperationGeSynthesizesFromSpaceship" }

0 commit comments

Comments
 (0)