diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-17 20:52:23 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-17 20:52:23 +0300 |
| commit | 0d4e9292d85a169f881926556992d4ae12dcb6f4 (patch) | |
| tree | 99229dbacc2f679772ae9ef897b09da0c664b2ff /include | |
| parent | 395efb9c8a0a0160a7b95769e9484bae5548bbde (diff) | |
| download | ek-0d4e9292d85a169f881926556992d4ae12dcb6f4.tar.gz ek-0d4e9292d85a169f881926556992d4ae12dcb6f4.zip | |
actually enable clang compilation and apply fixes
Diffstat (limited to 'include')
| -rw-r--r-- | include/ek/ast.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ek/ast.h b/include/ek/ast.h index 53bc8d6..610efb6 100644 --- a/include/ek/ast.h +++ b/include/ek/ast.h @@ -291,6 +291,7 @@ static inline bool is_binop(struct ast *x) case AST_RSHIFT: return true; default: + break; }; return false; @@ -308,6 +309,7 @@ static inline bool is_opassign(struct ast *x) case AST_ASSIGN_RSHIFT: return true; default: + break; }; return false; } @@ -321,6 +323,7 @@ static inline bool is_unop(struct ast *x) case AST_NEG: return true; default: + break; } return false; @@ -337,6 +340,7 @@ static inline bool is_comparison(struct ast *x) case AST_EQ: return true; default: + break; } return false; @@ -351,6 +355,7 @@ static inline bool is_const(struct ast *x) case AST_CONST_BOOL: return true; default: + break; } return false; @@ -365,6 +370,7 @@ static inline bool is_primitive(struct type *t) case TYPE_PTR: return true; default: + break; } return false; |
