Skip to content

Commit d2336dc

Browse files
authored
Merge pull request #1882 from aschackmull/lang/autoformat
Java/C#/JavaScript: Autoformat
2 parents 434c20f + ae351be commit d2336dc

File tree

214 files changed

+474
-1009
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+474
-1009
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ private module ImplCommon {
363363
newtype TReturnPosition =
364364
TReturnPosition0(DataFlowCallable c, ReturnKind kind) { returnPosition(_, c, kind) }
365365
}
366+
366367
import ImplCommon
367368

368369
pragma[noinline]
@@ -418,7 +419,6 @@ class CallContextReturn extends CallContext, TReturn {
418419
/** A callable tagged with a relevant return kind. */
419420
class ReturnPosition extends TReturnPosition0 {
420421
private DataFlowCallable c;
421-
422422
private ReturnKind kind;
423423

424424
ReturnPosition() { this = TReturnPosition0(c, kind) }

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImplLocal.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,8 @@ module PathGraph {
16131613
*/
16141614
private class PathNodeMid extends PathNode, TPathNodeMid {
16151615
Node node;
1616-
16171616
CallContext cc;
1618-
16191617
AccessPath ap;
1620-
16211618
Configuration config;
16221619

16231620
PathNodeMid() { this = TPathNodeMid(node, cc, ap, config) }
@@ -1680,7 +1677,6 @@ private class PathNodeSource extends PathNodeMid {
16801677
*/
16811678
private class PathNodeSink extends PathNode, TPathNodeSink {
16821679
Node node;
1683-
16841680
Configuration config;
16851681

16861682
PathNodeSink() { this = TPathNodeSink(node, config) }
@@ -2093,11 +2089,8 @@ private module FlowExploration {
20932089

20942090
private class PartialPathNodePriv extends PartialPathNode {
20952091
Node node;
2096-
20972092
CallContext cc;
2098-
20992093
AccessPath ap;
2100-
21012094
Configuration config;
21022095

21032096
PartialPathNodePriv() { this = TPartialPathNodeMk(node, cc, ap, config) }
@@ -2358,6 +2351,7 @@ private module FlowExploration {
23582351
)
23592352
}
23602353
}
2354+
23612355
import FlowExploration
23622356

23632357
private predicate partialFlow(

0 commit comments

Comments
 (0)