C++: Fix formatting

This commit is contained in:
Dave Bartolomeo
2020-03-20 14:23:58 -04:00
parent 82e2816915
commit fb71f781a0

View File

@@ -40,16 +40,12 @@ class BuiltInVarArgsStart extends BuiltInOperation, @vastartexpr {
/**
* Gets the `va_list` argument.
*/
final Expr getVAList() {
result = getChild(0)
}
final Expr getVAList() { result = getChild(0) }
/**
* Gets the argument that specifies the last named parameter before the ellipsis.
*/
final VariableAccess getLastNamedParameter() {
result = getChild(1)
}
final VariableAccess getLastNamedParameter() { result = getChild(1) }
}
/**
@@ -69,9 +65,7 @@ class BuiltInVarArgsEnd extends BuiltInOperation, @vaendexpr {
/**
* Gets the `va_list` argument.
*/
final Expr getVAList() {
result = getChild(0)
}
final Expr getVAList() { result = getChild(0) }
}
/**
@@ -89,9 +83,7 @@ class BuiltInVarArg extends BuiltInOperation, @vaargexpr {
/**
* Gets the `va_list` argument.
*/
final Expr getVAList() {
result = getChild(0)
}
final Expr getVAList() { result = getChild(0) }
}
/**
@@ -111,16 +103,12 @@ class BuiltInVarArgCopy extends BuiltInOperation, @vacopyexpr {
/**
* Gets the destination `va_list` argument.
*/
final Expr getDestinationVAList() {
result = getChild(0)
}
final Expr getDestinationVAList() { result = getChild(0) }
/**
* Gets the the source `va_list` argument.
*/
final Expr getSourceVAList() {
result = getChild(1)
}
final Expr getSourceVAList() { result = getChild(1) }
}
/**