diff --git a/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/internal/IRConstruction.qll b/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/internal/IRConstruction.qll index f7412062b75..45af0a11f3c 100644 --- a/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/internal/IRConstruction.qll +++ b/cpp/ql/src/semmle/code/cpp/ir/implementation/raw/internal/IRConstruction.qll @@ -392,7 +392,7 @@ private module Cached { } cached - Instruction getPrimaryInstructionForSideEffect(Instruction instruction) { + Instruction getPrimaryInstructionForSideEffect(SideEffectInstruction instruction) { exists(TranslatedElement element, InstructionTag tag | instructionOrigin(instruction, element, tag) and result = element.getPrimaryInstructionForSideEffect(tag)