Skip to content

Commit 31d3e94

Browse files
rdmarsh2jbj
authored andcommitted
C++: Grammar/style fixes from code review
Co-authored-by: Jonas Jensen <jbj@github.com>
1 parent 74e05c1 commit 31d3e94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/ql/src/semmle/code/cpp/models/interfaces/FlowSource.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import FunctionInputsAndOutputs
1111
import semmle.code.cpp.models.Models
1212

1313
/**
14-
* A library function which returns data that may be read from a network connection.
14+
* A library function that returns data that may be read from a network connection.
1515
*/
1616
abstract class RemoteFlowFunction extends Function {
1717
/**
@@ -21,11 +21,11 @@ abstract class RemoteFlowFunction extends Function {
2121
}
2222

2323
/**
24-
* A library function which returns data that is directly controlled by a user.
24+
* A library function that returns data that is directly controlled by a user.
2525
*/
2626
abstract class LocalFlowFunction extends Function {
2727
/**
2828
* Holds if data described by `description` flows from `output` of a call to this function.
2929
*/
3030
abstract predicate hasLocalFlowSource(FunctionOutput output, string description);
31-
}
31+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ private class ArgvSource extends LocalFlowSource {
9696
)
9797
}
9898

99-
override string getSourceType() { result = "a command line argument" }
99+
override string getSourceType() { result = "a command-line argument" }
100100
}

0 commit comments

Comments
 (0)