summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index 6589de67d..2027aeab3 100644
--- a/slang.h
+++ b/slang.h
@@ -380,7 +380,7 @@ convention for interface methods.
#endif // __cplusplus
#ifndef SLANG_RETURN_NEVER
-# define SLANG_RETURN_NEVER /* empty */
+# define SLANG_RETURN_NEVER [[noreturn]]
#endif // SLANG_RETURN_NEVER
/* Macros for detecting processor */