Skip to content

Commit ac22e79

Browse files
committed
C++: autoformat FlowSources.qll
1 parent d0bb5ad commit ac22e79

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

cpp/ql/src/semmle/code/cpp/security/FlowSources.qll

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ abstract class RemoteFlowSource extends DataFlow::Node {
1515

1616
private class TaintedReturnSource extends RemoteFlowSource {
1717
string sourceType;
18+
1819
TaintedReturnSource() {
1920
exists(RemoteFlowFunction func, CallInstruction instr, FunctionOutput output |
2021
asInstruction() = instr and
@@ -24,13 +25,12 @@ private class TaintedReturnSource extends RemoteFlowSource {
2425
)
2526
}
2627

27-
override string getSourceType() {
28-
result = sourceType
29-
}
28+
override string getSourceType() { result = sourceType }
3029
}
3130

3231
private class TaintedParameterSource extends RemoteFlowSource {
3332
string sourceType;
33+
3434
TaintedParameterSource() {
3535
exists(RemoteFlowFunction func, WriteSideEffectInstruction instr, FunctionOutput output |
3636
asInstruction() = instr and
@@ -40,7 +40,5 @@ private class TaintedParameterSource extends RemoteFlowSource {
4040
)
4141
}
4242

43-
override string getSourceType() {
44-
result = sourceType
45-
}
43+
override string getSourceType() { result = sourceType }
4644
}

0 commit comments

Comments
 (0)