File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal/rangeanalysis
java/ql/lib/semmle/code/java/dataflow/internal/rangeanalysis Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ private Sign certainExprSign(Expr e) {
45
45
private predicate unknownSign ( Expr e ) {
46
46
not exists ( certainExprSign ( e ) ) and
47
47
(
48
- exists ( IntegerLiteral lit | lit = e and not exists ( lit .getValue ( ) .toInt ( ) ) )
49
- or
50
- exists ( LongLiteral lit | lit = e and not exists ( lit .getValue ( ) .toFloat ( ) ) )
51
- or
52
48
exists ( CastingExpr cast , Type fromtyp |
53
49
cast = e and
54
50
fromtyp = cast .getSourceType ( ) and
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ private Sign certainExprSign(Expr e) {
45
45
private predicate unknownSign ( Expr e ) {
46
46
not exists ( certainExprSign ( e ) ) and
47
47
(
48
- exists ( IntegerLiteral lit | lit = e and not exists ( lit .getValue ( ) .toInt ( ) ) )
49
- or
50
- exists ( LongLiteral lit | lit = e and not exists ( lit .getValue ( ) .toFloat ( ) ) )
51
- or
52
48
exists ( CastingExpr cast , Type fromtyp |
53
49
cast = e and
54
50
fromtyp = cast .getSourceType ( ) and
You can’t perform that action at this time.
0 commit comments