mirror of
https://github.com/github/codeql.git
synced 2026-07-06 12:05:31 +02:00
C++: Autoformat.
This commit is contained in:
@@ -1714,13 +1714,9 @@ class CallSideEffectInstruction extends SideEffectInstruction {
|
||||
CallSideEffectInstruction() { this.getOpcode() instanceof Opcode::CallSideEffect }
|
||||
|
||||
/** Gets the operand for the value that will be read by this instruction */
|
||||
final SideEffectOperand getSideEffectOperand() {
|
||||
result = this.getAnOperand()
|
||||
}
|
||||
final SideEffectOperand getSideEffectOperand() { result = this.getAnOperand() }
|
||||
|
||||
final Instruction getSideEffect() {
|
||||
result = this.getAnOperand().getDef()
|
||||
}
|
||||
final Instruction getSideEffect() { result = this.getAnOperand().getDef() }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1732,15 +1728,11 @@ class CallSideEffectInstruction extends SideEffectInstruction {
|
||||
*/
|
||||
class CallReadSideEffectInstruction extends SideEffectInstruction {
|
||||
CallReadSideEffectInstruction() { this.getOpcode() instanceof Opcode::CallReadSideEffect }
|
||||
|
||||
/** Gets the operand for the value that will be read by this instruction */
|
||||
final SideEffectOperand getSideEffectOperand() {
|
||||
result = this.getAnOperand()
|
||||
}
|
||||
|
||||
final Instruction getSideEffect() {
|
||||
result = this.getAnOperand().getDef()
|
||||
}
|
||||
/** Gets the operand for the value that will be read by this instruction */
|
||||
final SideEffectOperand getSideEffectOperand() { result = this.getAnOperand() }
|
||||
|
||||
final Instruction getSideEffect() { result = this.getAnOperand().getDef() }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user