File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
test/Interop/Cxx/function/Inputs Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 7
7
#ifdef __cplusplus
8
8
extern "C" {
9
9
#endif
10
+
11
+ #ifdef __cplusplus
12
+ #define TEST_CONST_RETURN const
13
+ #else
14
+ #define TEST_CONST_RETURN
15
+ #endif
16
+
17
+
10
18
void * _Nonnull memcpy (void * _Nonnull, const void * _Nonnull, size_t );
11
19
12
20
void * _Nonnull memcpy42 (void * _Nonnull, const void * _Nonnull, size_t );
13
21
14
- void const * _Nullable memchr (const void * _Nonnull __s , int __ch , size_t __n ) __attribute_pure__ ;
22
+ void TEST_CONST_RETURN * _Nullable memchr (const void * _Nonnull __s , int __ch , size_t __n ) __attribute_pure__ ;
15
23
16
24
void * _Nonnull memmove (void * _Nonnull __dst , const void * _Nonnull __src , size_t __n );
17
25
18
26
void * _Nonnull memset (void * _Nonnull __dst , int __ch , size_t __n );
19
27
20
- char const * _Nullable strrchr (const char * _Nonnull __s , int __ch ) __attribute_pure__ ;
28
+ char TEST_CONST_RETURN * strrchr (const char * __s , int __ch ) __attribute_pure__ ;
21
29
22
30
char * _Nonnull strcpy (char * _Nonnull __dst , const char * _Nonnull __src );
23
31
char * _Nonnull strcat (char * _Nonnull __dst , const char * _Nonnull __src );
You can’t perform that action at this time.
0 commit comments