Skip to content

Commit 2cc732e

Browse files
Copilotgeoffw0
andcommitted
Apply QL autoformatter to ModelsAsData.qll
Co-authored-by: geoffw0 <40627776+geoffw0@users.noreply.github.com>
1 parent 0245cd8 commit 2cc732e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

rust/ql/lib/codeql/rust/dataflow/internal/ModelsAsData.qll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ private import codeql.rust.dataflow.FlowSource
4949
private import codeql.rust.dataflow.FlowSink
5050
private import codeql.rust.elements.internal.CallExprBaseImpl::Impl as CallExprBaseImpl
5151

52-
53-
5452
/**
5553
* Holds if in a call to the function with canonical path `path`, the value referred
5654
* to by `output` is a flow source of the given `kind`.
@@ -64,8 +62,6 @@ extensible predicate sourceModel(
6462
string path, string output, string kind, string provenance, QlBuiltins::ExtensionId madId
6563
);
6664

67-
68-
6965
/**
7066
* Holds if in a call to the function with canonical path `path`, the value referred
7167
* to by `input` is a flow sink of the given `kind`.
@@ -80,8 +76,6 @@ extensible predicate sinkModel(
8076
string path, string input, string kind, string provenance, QlBuiltins::ExtensionId madId
8177
);
8278

83-
84-
8579
/**
8680
* Holds if in a call to the function with canonical path `path`, the value referred
8781
* to by `input` can flow to the value referred to by `output`.
@@ -116,8 +110,6 @@ predicate interpretModelForTest(QlBuiltins::ExtensionId madId, string model) {
116110
)
117111
}
118112

119-
120-
121113
private class SummarizedCallableFromModel extends SummarizedCallable::Range {
122114
private string path;
123115

@@ -146,8 +138,6 @@ private class SummarizedCallableFromModel extends SummarizedCallable::Range {
146138
}
147139
}
148140

149-
150-
151141
private class FlowSourceFromModel extends FlowSource::Range {
152142
private string path;
153143

@@ -164,8 +154,6 @@ private class FlowSourceFromModel extends FlowSource::Range {
164154
}
165155
}
166156

167-
168-
169157
private class FlowSinkFromModel extends FlowSink::Range {
170158
private string path;
171159

0 commit comments

Comments
 (0)