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) {
4545private predicate unknownSign ( Expr e ) {
4646 not exists ( certainExprSign ( e ) ) and
4747 (
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
5248 exists ( CastingExpr cast , Type fromtyp |
5349 cast = e and
5450 fromtyp = cast .getSourceType ( ) and
Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ private Sign certainExprSign(Expr e) {
4545private predicate unknownSign ( Expr e ) {
4646 not exists ( certainExprSign ( e ) ) and
4747 (
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
5248 exists ( CastingExpr cast , Type fromtyp |
5349 cast = e and
5450 fromtyp = cast .getSourceType ( ) and
You can’t perform that action at this time.
0 commit comments