Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecdf3dd

Browse files
committed
improve comments (constraint loader)
1 parent7f4f39e commitecdf3dd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/init.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ validate_range_constraint(const Expr *expr,
810810
lower,upper,lower_null,upper_null);
811811
}
812812

813-
/* Validates a single expression of kind VAR >= CONSTor VAR < CONST */
813+
/* Validates a single expression of kind VAR >= CONST| VAR < CONST */
814814
staticbool
815815
validate_range_opexpr(constExpr*expr,
816816
constPartRelationInfo*prel,
@@ -870,8 +870,10 @@ validate_range_opexpr(const Expr *expr,
870870

871871
/*
872872
* 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
875877
*/
876878
staticbool
877879
read_opexpr_const(constOpExpr*opexpr,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp