Skip to content

Commit 2252936

Browse files
committed
C++: Fix copy-paste mistake.
1 parent d67dae8 commit 2252936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/controlflow/IRGuards.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private class ScrutineeValueNumber extends ValueNumber {
125125
SwitchInstruction getSwitchInstruction() { result = switch }
126126

127127
/** Gets an expression that belongs to this value number. */
128-
SwitchInstruction getExpressionInstruction() { result = scrutinee }
128+
Instruction getExpressionInstruction() { result = scrutinee }
129129
}
130130

131131
/**

0 commit comments

Comments
 (0)