aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-02-24 16:00:03 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commit12e5135d95dc34fd7f7a7c50d6dbac453f252683 (patch)
treeeb9d1225855a02aa90f4fa5f90228018e6fa1785 /include/ast.h
parentf11c4b63ff74bffb1d42d95167b3384a2f7765ea (diff)
Add result check for msvc
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ast.h b/include/ast.h
index edbe70f..b14c26d 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -47,7 +47,7 @@ void ast_deinit(Ast *ast);
void funcdecl_init(FunctionDecl *self);
void funcdecl_deinit(FunctionDecl *self);
-WARN_UNUSED_RESULT int funcdecl_add_to_body(FunctionDecl *self, Ast ast);
+CHECK_RESULT int funcdecl_add_to_body(FunctionDecl *self, Ast ast);
void funccall_init(FunctionCall *self, BufferView name);