Skip to content

Commit afd2f58

Browse files
author
Dave Bartolomeo
committed
C++: Fix PR feedback
1 parent 697b2dc commit afd2f58

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,8 @@ class TranslatedSideEffect extends TranslatedElement, TTranslatedArgumentSideEff
495495
override Instruction getFirstInstruction() { result = getInstruction(OnlyInstructionTag()) }
496496

497497
override predicate hasInstruction(Opcode opcode, InstructionTag tag, CppType type) {
498-
(
499-
tag = OnlyInstructionTag() and
500-
opcode = sideEffectOpcode
501-
) and
498+
tag = OnlyInstructionTag() and
499+
opcode = sideEffectOpcode and
502500
(
503501
isWrite() and
504502
(

0 commit comments

Comments
 (0)