Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae47eab

Browse files
author
Robert Marsh
committed
C++: autoformat
1 parent 180a3c9 commit ae47eab

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,7 @@ class TranslatedReadEffects extends TranslatedElement, TTranslatedReadEffects {
575575
)
576576
}
577577

578-
override predicate hasInstruction(
579-
Opcode opcode, InstructionTag tag, CppType resultType
580-
) {
578+
override predicate hasInstruction(Opcode opcode, InstructionTag tag, CppType resultType) {
581579
none()
582580
}
583581

@@ -609,9 +607,7 @@ class TranslatedReadEffect extends TranslatedElement, TTranslatedReadEffect {
609607

610608
override Function getFunction() { result = param.getFunction() }
611609

612-
override predicate hasInstruction(
613-
Opcode opcode, InstructionTag tag, CppType resultType
614-
) {
610+
override predicate hasInstruction(Opcode opcode, InstructionTag tag, CppType resultType) {
615611
opcode instanceof Opcode::ReturnIndirection and
616612
tag = OnlyInstructionTag() and
617613
resultType = getVoidType()
@@ -630,6 +626,6 @@ class TranslatedReadEffect extends TranslatedElement, TTranslatedReadEffect {
630626
final override CppType getInstructionOperandType(InstructionTag tag, TypedOperandTag operandTag) {
631627
tag = OnlyInstructionTag() and
632628
operandTag = sideEffectOperand() and
633-
result = getUnknownType()
629+
result = getUnknownType()
634630
}
635631
}

0 commit comments

Comments
 (0)