We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
underlyingElement
isStructuredBinding
1 parent d4832b4 commit e05af1eCopy full SHA for e05af1e
cpp/ql/lib/semmle/code/cpp/Variable.qll
@@ -173,7 +173,7 @@ class Variable extends Declaration, @variable {
173
* Holds if this variable is declated as part of a structured binding
174
* declaration. For example, `x` in `auto [x, y] = ...`.
175
*/
176
- predicate isStructuredBinding() { is_structured_binding(unresolveElement(this)) }
+ predicate isStructuredBinding() { is_structured_binding(underlyingElement(this)) }
177
178
/**
179
* Holds if this is a compiler-generated variable. For example, a
0 commit comments