aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-06 22:21:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:04:04 -0700
commit087362e1942ba497d3fc9b4808f6d0e886bcd26a (patch)
tree7b572946678260be15366b703633dd2f9773b9dc /expression.h
parentSimplify implied casts. (diff)
downloadsparse-087362e1942ba497d3fc9b4808f6d0e886bcd26a.tar.gz
sparse-087362e1942ba497d3fc9b4808f6d0e886bcd26a.tar.bz2
sparse-087362e1942ba497d3fc9b4808f6d0e886bcd26a.zip
Separate explicit and implied casts.
This also makes our evaluation simplification only happen for the implied ones. If you put an explicit cast somewhere, it does _not_ get combined with an implied one.
Diffstat (limited to 'expression.h')
-rw-r--r--expression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/expression.h b/expression.h
index cb156f2..6d2688c 100644
--- a/expression.h
+++ b/expression.h
@@ -25,6 +25,7 @@ enum expression_type {
EXPR_PREOP,
EXPR_POSTOP,
EXPR_CAST,
+ EXPR_IMPLIED_CAST,
EXPR_SIZEOF,
EXPR_ALIGNOF,
EXPR_PTRSIZEOF,