Skip to content

Commit d1093ca

Browse files
committed
CPP: Delete invalid URL and strange comment.
1 parent 7e90728 commit d1093ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cpp/ql/src/Best Practices/Likely Errors/Slicing.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
import cpp
1414

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

0 commit comments

Comments
 (0)