We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da05208 commit 0c622d7Copy full SHA for 0c622d7
libc/include/__llvm-libc-common.h
@@ -47,6 +47,13 @@
47
#define __NOEXCEPT throw()
48
#endif
49
50
+#undef _Returns_twice
51
+#if __cplusplus >= 201103L
52
+#define _Returns_twice [[gnu::returns_twice]]
53
+#else
54
+#define _Returns_twice __attribute__((returns_twice))
55
+#endif
56
+
57
// This macro serves as a generic cast implementation for use in both C and C++,
58
// similar to `__BIONIC_CAST` in Android.
59
#undef __LLVM_LIBC_CAST
0 commit comments