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 77#ifdef __cplusplus
88extern "C" {
99#endif
10+
11+ #ifdef __cplusplus
12+ #define TEST_CONST_RETURN const
13+ #else
14+ #define TEST_CONST_RETURN
15+ #endif
16+
17+
1018void * _Nonnull memcpy (void * _Nonnull, const void * _Nonnull, size_t );
1119
1220void * _Nonnull memcpy42 (void * _Nonnull, const void * _Nonnull, size_t );
1321
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__ ;
1523
1624void * _Nonnull memmove (void * _Nonnull __dst , const void * _Nonnull __src , size_t __n );
1725
1826void * _Nonnull memset (void * _Nonnull __dst , int __ch , size_t __n );
1927
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__ ;
2129
2230char * _Nonnull strcpy (char * _Nonnull __dst , const char * _Nonnull __src );
2331char * _Nonnull strcat (char * _Nonnull __dst , const char * _Nonnull __src );
You can’t perform that action at this time.
0 commit comments