File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -810,7 +810,7 @@ validate_range_constraint(const Expr *expr,
810
810
lower , upper , lower_null , upper_null );
811
811
}
812
812
813
- /* Validates a single expression of kind VAR >= CONST or VAR < CONST */
813
+ /* Validates a single expression of kind VAR >= CONST | VAR < CONST */
814
814
static bool
815
815
validate_range_opexpr (const Expr * expr ,
816
816
const PartRelationInfo * prel ,
@@ -870,8 +870,10 @@ validate_range_opexpr(const Expr *expr,
870
870
871
871
/*
872
872
* Reads const value from expressions of kind:
873
- * 1) VAR >= CONST OR VAR < CONST
874
- * 2) RELABELTYPE(VAR) >= CONST OR RELABELTYPE(VAR) < CONST
873
+ * 1) VAR >= CONST
874
+ * 2) VAR < CONST
875
+ * 3) RELABELTYPE(VAR) >= CONST
876
+ * 4) RELABELTYPE(VAR) < CONST
875
877
*/
876
878
static bool
877
879
read_opexpr_const (const OpExpr * opexpr ,
You can’t perform that action at this time.
0 commit comments