mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
C++: IR sanity query unnecessaryPhiInstruction
Have `Instruction.getResultSize()` return zero for `void`.
This commit is contained in:
@@ -3,4 +3,5 @@ unexpectedOperand
|
||||
duplicateOperand
|
||||
missingPhiOperand
|
||||
instructionWithoutSuccessor
|
||||
unnecessaryPhiInstruction
|
||||
operandAcrossFunctions
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
missingOperand
|
||||
unexpectedOperand
|
||||
duplicateOperand
|
||||
missingPhiOperands
|
||||
missingPhiOperand
|
||||
instructionWithoutSuccessor
|
||||
unnecessaryPhiInstruction
|
||||
operandAcrossFunctions
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
missingOperand
|
||||
unexpectedOperand
|
||||
duplicateOperand
|
||||
missingPhiOperands
|
||||
missingPhiOperand
|
||||
instructionWithoutSuccessor
|
||||
unnecessaryPhiInstruction
|
||||
operandAcrossFunctions
|
||||
|
||||
Reference in New Issue
Block a user