From 2cd69d3ee34a6d2c21aa64aedf262827eb83826f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 25 Jun 2025 13:59:15 -0400 Subject: Use C23 [[attribute]] syntax --- src/prelude.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/prelude.h') diff --git a/src/prelude.h b/src/prelude.h index 1663af6..f4ec40f 100644 --- a/src/prelude.h +++ b/src/prelude.h @@ -77,12 +77,6 @@ /** _Bool => bool, true, false */ #include -/** - * C23 deprecates `noreturn void` in favour of `[[noreturn]] void`, so we expose - * _noreturn instead with the other attributes in "bfs.h". - */ -// #include - /** Part of , but we don't use anything else from it. */ #define thread_local _Thread_local @@ -99,11 +93,6 @@ // Feature detection -// https://clang.llvm.org/docs/LanguageExtensions.html#has-attribute -#ifndef __has_attribute -# define __has_attribute(attr) false -#endif - // https://clang.llvm.org/docs/LanguageExtensions.html#has-builtin #ifndef __has_builtin # define __has_builtin(builtin) false -- cgit v1.2.3