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.
1 parent 4d029ac commit 6e38105Copy full SHA for 6e38105
cpp/ql/lib/experimental/semmle/code/cpp/semantic/SemanticExprSpecific.qll
@@ -79,7 +79,7 @@ module SemanticExprConfig {
79
string toString() { result = this.getUnconverted().toString() }
80
81
/** Gets the basic block of this expression. */
82
- IR::IRBlock getBlock() { result = getInstruction(0).getBlock() }
+ IR::IRBlock getBlock() { result = this.getUnconverted().getBlock() }
83
84
/** Gets the unconverted instruction associated with this expression. */
85
IR::Instruction getUnconverted() { result = this.getInstruction(0) }
0 commit comments