projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce new error handling API.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Compiler.h
diff --git
a/include/llvm/Support/Compiler.h
b/include/llvm/Support/Compiler.h
index 90292df38196c628bf714bfe183ad802878769b4..853324611bbe757b40356367dfa66531793fe60c 100644
(file)
--- a/
include/llvm/Support/Compiler.h
+++ b/
include/llvm/Support/Compiler.h
@@
-56,4
+56,10
@@
#define DISABLE_INLINE
#endif
+#ifdef __GNUC__
+#define NORETURN __attribute__((noreturn))
+#else
+#define NORETURN
+#endif
+
#endif