CPP: Delete invalid URL and strange comment.

This commit is contained in:
Geoffrey White
2019-06-26 14:42:02 +01:00
parent 7e90728c67
commit d1093cae2e

View File

@@ -12,8 +12,6 @@
import cpp
//see http://www.cs.ualberta.ca/~hoover/Courses/201/201-New-Notes/lectures/section/slice.htm
//Does not find anything in rivers (unfortunately)
from AssignExpr e, Class lhsType, Class rhsType
where
e.getLValue().getType() = lhsType and
@@ -22,6 +20,6 @@ where
exists(Declaration m |
rhsType.getAMember() = m and
not m.(VirtualFunction).isPure()
) //add additional checks for concrete members in in-between supertypes
) // add additional checks for concrete members in in-between supertypes
select e, "This assignment expression slices from type $@ to $@", rhsType, rhsType.getName(),
lhsType, lhsType.getName()