File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -304,11 +304,12 @@ class ParameterDeclarationEntry extends VariableDeclarationEntry {
304304
305305/**
306306 * A C/C++ variable with block scope [N4140 3.3.3]. In other words, a local
307- * variable or a function parameter. For example, the variables `a` and `b` in
308- * the following code:
307+ * variable or a function parameter. For example, the variables `a`, `b` and
308+ * `c` in the following code:
309309 * ```
310310 * void myFunction(int a) {
311311 * int b;
312+ * static int c;
312313 * }
313314 * ```
314315 *
@@ -332,10 +333,11 @@ deprecated class StackVariable extends Variable {
332333/**
333334 * A C/C++ local variable. In other words, any variable that has block
334335 * scope [N4140 3.3.3], but is not a parameter of a `Function` or `CatchBlock`.
335- * For example the variable `b` in the following code:
336+ * For example the variables `b` and `c ` in the following code:
336337 * ```
337338 * void myFunction(int a) {
338339 * int b;
340+ * static int c;
339341 * }
340342 * ```
341343 *
You can’t perform that action at this time.
0 commit comments