Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/TypeFlow.qll

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2024-04-09 15:00:23 +01:00
committed by GitHub
parent 386580fc94
commit 2a7420ce11

View File

@@ -7,7 +7,7 @@ private module Input implements TypeFlowInput<Location> {
// The address of a variable is always a single object
i instanceof VariableAddressInstruction
or
// A reference always points to a always a single object
// A reference always points to a single object
i.getResultLanguageType().hasUnspecifiedType(any(ReferenceType rt), false)
or
// `this` is never an array