mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6da7890ff5
commit
5e9fd12d8c
@@ -1164,7 +1164,7 @@ private module RawIndirectNodes {
|
||||
override predicate isGLValue() { this.getInstruction().isGLValue() }
|
||||
|
||||
override Type getType() {
|
||||
exists(int sub, DataFlowType type, boolean isGLValue |
|
||||
exists(int sub, Type type, boolean isGLValue |
|
||||
type = getInstructionType(this.getInstruction(), isGLValue) and
|
||||
if isGLValue = true then sub = 1 else sub = 0
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user