aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-05-09 13:22:45 -0700
committerMichael Forney <mforney@mforney.org>2022-05-11 11:15:56 -0700
commitd99805f26575a0e0a7323fdaf56daec7b1857eda (patch)
tree6c794bdca32cc91c87cf23e828fc8e375fb34971 /cc.h
parentef3b6b33eba80b82ae3da1d8e322b531bfc99902 (diff)
expr: Implement type-checking for casts and assignments
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc.h b/cc.h
index 0e3e237..65949d0 100644
--- a/cc.h
+++ b/cc.h
@@ -477,7 +477,7 @@ struct expr *constexpr(struct scope *);
unsigned long long intconstexpr(struct scope *, _Bool);
void delexpr(struct expr *);
-struct expr *exprconvert(struct expr *, struct type *);
+struct expr *exprassign(struct expr *, struct type *);
struct expr *exprpromote(struct expr *);
/* eval */