We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ffa124 commit 9fc27e9Copy full SHA for 9fc27e9
1 file changed
cpp/ql/src/semmle/code/cpp/dataflow/EscapesTree.qll
@@ -223,7 +223,7 @@ private predicate lvalueMayEscapeMutablyAt(Expr e) {
223
lvalueMayEscapeAt(e) and
224
// A qualifier of a call to a const member function is converted to a const
225
// class type.
226
- not e.isConstant()
+ not e.getType().isConst()
227
}
228
229
private predicate addressFromVariableAccess(VariableAccess va, Expr e) {
0 commit comments