We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f9849b commit ca0517bCopy full SHA for ca0517b
cpp/ql/src/semmle/code/cpp/Variable.qll
@@ -283,7 +283,11 @@ deprecated class StackVariable extends Variable {
283
284
/**
285
* A C/C++ local variable. In other words, any variable that has block
286
- * scope [N4140 3.3.3], but is not a function parameter.
+ * scope [N4140 3.3.3], but is not a parameter of a `Function` or `CatchBlock`.
287
+ * Local variables can be static; use the `isStatic` member predicate to detect
288
+ * those.
289
+ *
290
+ * A local variable can be declared by a `DeclStmt` or a `ConditionDeclExpr`.
291
*/
292
class LocalVariable extends LocalScopeVariable, @localvariable {
293
override string getName() { localvariables(underlyingElement(this),_,result) }
0 commit comments