Skip to content

Commit 026abae

Browse files
committed
C++: Simplify some more.
1 parent 7983b16 commit 026abae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/EscapesTree.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private predicate addressMayEscapeAt(Expr e) {
212212

213213
private predicate addressMayEscapeMutablyAt(Expr e) {
214214
addressMayEscapeAt(e) and
215-
exists(Type t | t = e.getType().getUnderlyingType().stripTopLevelSpecifiers() |
215+
exists(Type t | t = e.getType().stripTopLevelSpecifiers() |
216216
t instanceof PointerType and
217217
not t.(PointerType).getBaseType().isConst()
218218
or

0 commit comments

Comments
 (0)