mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
C++: Respond to PR reviews.
This commit is contained in:
@@ -119,7 +119,7 @@ abstract class InstructionNode0 extends Node0Impl {
|
||||
result = instr.getOpcode().toString()
|
||||
}
|
||||
|
||||
final override predicate isGLValue() { instr.isGLValue() }
|
||||
final override predicate isGLValue() { exists(getInstructionType(instr, true)) }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -160,7 +160,7 @@ abstract class OperandNode0 extends Node0Impl {
|
||||
|
||||
override string toStringImpl() { result = op.toString() }
|
||||
|
||||
final override predicate isGLValue() { op.isGLValue() }
|
||||
final override predicate isGLValue() { exists(getOperandType(op, true)) }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user