summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/slang.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/slang.h b/include/slang.h
index 3df31f0f0..ea62a829f 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -368,12 +368,6 @@ convention for interface methods.
# define SLANG_OVERRIDE override
# endif
# endif
-
-// TODO(JS): Not used in previous code. Left here as may be useful on some other version.
-// #define SLANG_RETURN_NEVER __attribute__((__noreturn__))
-
-# define SLANG_RETURN_NEVER [[noreturn]]
-
# endif // SLANG_GCC_FAMILY
// Visual Studio
@@ -390,9 +384,6 @@ convention for interface methods.
# if _MSC_VER >= 1700
# define SLANG_HAS_ENUM_CLASS 1
# endif
-
-# define SLANG_RETURN_NEVER __declspec(noreturn)
-
# endif // SLANG_VC
// Set non set
@@ -408,10 +399,6 @@ convention for interface methods.
#endif // __cplusplus
-#ifndef SLANG_RETURN_NEVER
-# define SLANG_RETURN_NEVER [[noreturn]]
-#endif // SLANG_RETURN_NEVER
-
/* Macros for detecting processor */
#if defined(_M_ARM) || defined(__ARM_EABI__)
// This is special case for nVidia tegra