From c35e4faf918e8076012c881519687b7bbccaf5eb Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 18 Jun 2024 14:33:53 +0200 Subject: Add the nonnull attribute to codegenstmt() --- src/codegen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/codegen.c b/src/codegen.c index a5d0f46..4e2a4d3 100644 --- a/src/codegen.c +++ b/src/codegen.c @@ -13,7 +13,8 @@ #include "types.h" static size_t codegenstmt(LLVMBuilderRef, LLVMValueRef *, struct ast, - struct lexemes, size_t); + struct lexemes, size_t) + __attribute__((nonnull)); static size_t codegenexpr(LLVMBuilderRef, LLVMValueRef *, struct ast, struct lexemes, size_t, LLVMValueRef *) __attribute__((nonnull)); -- cgit v1.2.3