Skip to content

Commit ddb1b0a

Browse files
committed
CPP: Declaration -> definition.
1 parent 5bd5b1b commit ddb1b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Documentation/CommentedOutCode.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private predicate looksLikeCode(string line) {
2323
implies
2424
// ... then there has to be ") {" (or some variation)
2525
// on the line, suggesting it's a statement like `if`
26-
// or a function declaration. Otherwise it's likely to be a
26+
// or a function definition. Otherwise it's likely to be a
2727
// benign use of braces such as a JSON example or explanatory
2828
// pseudocode.
2929
trimmed.regexpMatch(".*(\\)|const|volatile|override|final|noexcept|&)\\s*\\{.*")

0 commit comments

Comments
 (0)