ret = constraintExpr_parseMakeBinaryOp (ce1, tok, ce2);
}
-
- /*@i333*/
- /* uncomment this block to activate the cheesy heuristic
- for handling sizeof expressions
+
+ /* define this block to activate the cheesy heuristic
+ for handling sizeof expressions*/
+#if 0
+
- / *
+ /*
drl 8-11-001
We handle expressions containing sizeof with the rule
This is the total wronge way to do this but...
it may be better than nothing
- * /
+ */
ret = oldconstraintExpr_makeTermExprNode (e);
}
}
- */
+#endif
+
else
ret = oldconstraintExpr_makeTermExprNode (e);
case XPR_COMMA:
t = exprData_getPairA(data);
ret = constraintExpr_makeExprNode(t);
- /*@i3434*/ /* drl: I'm not sure if this is right. I'm adding a break to quiet Splint */
break;
default:
ret = oldconstraintExpr_makeTermExprNode (e);
DPRINTF ((message ("Doing constraintExpr_simplify:%s", constraintExpr_unparse (c) ) ) );
- /*@i22*/
- /* drl: I think this is an Splint bug */
-
llassert ( constraintExpr_isDefined (c) );
if (constraintExpr_isUndefined (c) )
{
}
if (ctype_match (ctype_makePointer(ct2),ct) )
{
- /* sloopy way to do this... */ /*@i22*/
+ /*a bit of a sloopy way to do this but... */
constraintExpr_free(e);
return constraintExpr_makeExprNode(t1);
}
static /*@only@*/ constraintExpr simpleDivType (/*@only@*/ constraintExpr e, ctype ct)
{
- /*@i333*/
DPRINTF(( (message("simpleDiv got %s ", constraintExpr_unparse(e) ) )
));
constraintExprData_termGetTerm (/*@observer@*/ constraintExprData data)
{
llassert (constraintExprData_isDefined (data));
- /*@i22*/
return data->term;
}
constraintExpr constraintExprData_binaryExprGetExpr2 (constraintExprData data)
{
llassert (constraintExprData_isDefined(data));
- /*@i22*/
return (data->binaryOp.expr2);
}