We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unique
DataFlow::Node::getEnclosingCallable()
1 parent fd4e8f8 commit a7327fbCopy full SHA for a7327fb
1 file changed
cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowUtil.qll
@@ -46,7 +46,7 @@ class Node extends TNode {
46
/**
47
* INTERNAL: Do not use. Alternative name for `getFunction`.
48
*/
49
- final Function getEnclosingCallable() { result = unique(Function f | f = this.getFunction() | f) }
+ final Function getEnclosingCallable() { result = this.getFunction() }
50
51
/** Gets the type of this node. */
52
Type getType() { none() } // overridden in subclasses
0 commit comments