Skip to content

Commit 72823e9

Browse files
jketemaMathiasVP
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
1 parent e23e5e5 commit 72823e9

File tree

1 file changed

+3
-3
lines changed
  • cpp/ql/lib/semmle/code/cpp/stmts

1 file changed

+3
-3
lines changed

cpp/ql/lib/semmle/code/cpp/stmts/Stmt.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ class IfStmt extends ConditionalStmt, @stmt_if {
214214
override string getAPrimaryQlClass() { result = "IfStmt" }
215215

216216
/**
217-
* Gets the initialization statement of this 'if' statement.
217+
* Gets the initialization statement of this 'if' statement, if any.
218218
*
219219
* For example, for
220220
* ```
@@ -320,7 +320,7 @@ class ConstexprIfStmt extends ConditionalStmt, @stmt_constexpr_if {
320320
override string getAPrimaryQlClass() { result = "ConstexprIfStmt" }
321321

322322
/**
323-
* Gets the initialization statement of this 'constexpr if' statement.
323+
* Gets the initialization statement of this 'constexpr if' statement, if any.
324324
*
325325
* For example, for
326326
* ```
@@ -1513,7 +1513,7 @@ class SwitchStmt extends ConditionalStmt, @stmt_switch {
15131513
override string getAPrimaryQlClass() { result = "SwitchStmt" }
15141514

15151515
/**
1516-
* Gets the initialization statement of this 'switch' statement.
1516+
* Gets the initialization statement of this 'switch' statement, if any.
15171517
*
15181518
* For example, for
15191519
* ```

0 commit comments

Comments
 (0)