We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f634b32 commit 0bc23c3Copy full SHA for 0bc23c3
1 file changed
cpp/ql/lib/semmle/code/cpp/stmts/Stmt.qll
@@ -1836,13 +1836,10 @@ class SwitchStmt extends ConditionalStmt, @stmt_switch {
1836
* For example, for
1837
* ```
1838
* switch(i) {
1839
- * case 1:
1840
- * case 2:
1841
- * break;
1842
- * default:
1843
1844
- * }
1845
- * ```
+ * case 5:
+ * case 6:
+ * default:
+ * } * ```
1846
* 0 yields `case 5:`, 1 yields `case 6:`, and 2 yields `default:`.
1847
*/
1848
SwitchCase getSwitchCase(int n) {
0 commit comments