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:
Mathias Vorreiter Pedersen
2023-01-13 13:54:07 +00:00
committed by GitHub
parent cc0371648b
commit cdd9567062

View File

@@ -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