mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
cc0371648b
commit
cdd9567062
@@ -412,7 +412,7 @@ private predicate isModifiableAtImpl(CppType cppType, int indirectionIndex) {
|
||||
not base.isConst()
|
||||
or
|
||||
// but in the case of a class type, it may be the case that
|
||||
// one of the members were modified.
|
||||
// one of the members was modified.
|
||||
exists(base.stripType().(Cpp::Class).getAField())
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user