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.
returns_twice
setjmp(3)
1 parent 241e5d8 commit 5cc3187Copy full SHA for 5cc3187
libc/include/__llvm-libc-common.h
@@ -45,6 +45,9 @@
45
#define __NOEXCEPT throw()
46
#endif
47
48
+#undef _Returns_twice
49
+#define _Returns_twice [[gnu::returns_twice]]
50
+
51
#else // not __cplusplus
52
53
#undef __BEGIN_C_DECLS
@@ -80,6 +83,9 @@
80
83
#define __NOEXCEPT
81
84
82
85
86
87
+#define _Returns_twice __attribute__((returns_twice))
88
89
#endif // __cplusplus
90
91
#endif // LLVM_LIBC_COMMON_H
libc/include/setjmp.yaml
@@ -17,5 +17,7 @@ functions:
17
standards:
18
- stdc
19
return_type: int
20
+ attributes:
21
+ - _Returns_twice
22
arguments:
23
- type: jmp_buf
0 commit comments