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 c908ee0 commit 8e7da2cCopy full SHA for 8e7da2c
libc/include/__llvm-libc-common.h
@@ -48,7 +48,11 @@
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.
0 commit comments