Egor Zhdan 932949dbb5
[APINotes] Upstream the remaining API Notes fixes and tests
This upstreams the last bits of Clang API Notes functionality that is
currently implemented in the Apple fork:
https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes
2024-03-27 13:13:06 +00:00

20 lines
427 B
C

#ifndef HEADER_LIB_H
#define HEADER_LIB_H
void *custom_realloc(void *member, unsigned size);
int *global_int;
int unavailable_function(void);
int unavailable_global_int;
void do_something_with_pointers(int *ptr1, int *ptr2);
void do_something_with_arrays(int simple[], int nested[][2]);
typedef int unavailable_typedef;
struct unavailable_struct { int x, y, z; };
void take_pointer_and_int(int *ptr1, int value);
#endif