clang can inline, like GCC. It also supports the '__inline' and '__inline__' keywords.
2020-08-16 Bruno Haible <br...@clisp.org> nstrftime: Guide inlining also on clang. * lib/nstrftime.c (iso_week_days): Inline also on clang. diff --git a/lib/nstrftime.c b/lib/nstrftime.c index 28bc42f..580224d 100644 --- a/lib/nstrftime.c +++ b/lib/nstrftime.c @@ -368,7 +368,7 @@ tm_diff (const struct tm *a, const struct tm *b) #define ISO_WEEK1_WDAY 4 /* Thursday */ #define YDAY_MINIMUM (-366) static int iso_week_days (int, int); -#ifdef __GNUC__ +#if defined __GNUC__ || defined __clang__ __inline__ #endif static int