mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
autoformat
This commit is contained in:
@@ -269,11 +269,14 @@ class TestCase extends TTestCase {
|
||||
SupportMethod getASupportMethod() {
|
||||
exists(SummaryComponentStack s | s = input.drop(_) and s.tail() != baseInput |
|
||||
result = SupportMethod::genMethodForContent(s)
|
||||
) or
|
||||
)
|
||||
or
|
||||
exists(SummaryComponentStack s | s = input.drop(_) and s.tail() = baseInput |
|
||||
result = SupportMethod::genMethodFor(this.getInputType(), s)
|
||||
) or
|
||||
result = SupportMethod::getMethodFor(this.getOutputType(), output) or
|
||||
)
|
||||
or
|
||||
result = SupportMethod::getMethodFor(this.getOutputType(), output)
|
||||
or
|
||||
result = SupportMethod::getMethodForContent(output.tail().drop(_))
|
||||
}
|
||||
|
||||
|
||||
@@ -389,6 +389,8 @@ private class ArrayGenMethod extends GenMethod {
|
||||
|
||||
bindingset[arg]
|
||||
override string getCall(string arg) {
|
||||
result = "new " + getShortNameIfPossible(type) + "{" + getConvertExprIfNotObject(type.getComponentType()) + arg + "}"
|
||||
result =
|
||||
"new " + getShortNameIfPossible(type) + "{" +
|
||||
getConvertExprIfNotObject(type.getComponentType()) + arg + "}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user