Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
getType
Instruction::getResultType()
1 parent 21acefb commit 2ad3119Copy full SHA for 2ad3119
1 file changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -111,7 +111,12 @@ class Node extends TIRDataFlowNode {
111
/** Gets the function to which this node belongs, if any. */
112
Declaration getFunction() { none() } // overridden in subclasses
113
114
- /** Gets the type of this node. */
+ /**
115
+ * Gets the type of this node.
116
+ *
117
+ * If `asInstruction().isGLValue()` holds, then the type of this node
118
+ * should be thought of as "pointer to `getType()`".
119
+ */
120
DataFlowType getType() { none() } // overridden in subclasses
121
122
/** Gets the instruction corresponding to this node, if any. */
0 commit comments