We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd5b1b commit ddb1b0aCopy full SHA for ddb1b0a
cpp/ql/src/Documentation/CommentedOutCode.qll
@@ -23,7 +23,7 @@ private predicate looksLikeCode(string line) {
23
implies
24
// ... then there has to be ") {" (or some variation)
25
// on the line, suggesting it's a statement like `if`
26
- // or a function declaration. Otherwise it's likely to be a
+ // or a function definition. Otherwise it's likely to be a
27
// benign use of braces such as a JSON example or explanatory
28
// pseudocode.
29
trimmed.regexpMatch(".*(\\)|const|volatile|override|final|noexcept|&)\\s*\\{.*")
0 commit comments