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 934a203 commit 0aca451Copy full SHA for 0aca451
libc/src/__support/common.h
@@ -21,13 +21,15 @@
21
#define LLVM_LIBC_FUNCTION_ATTR
22
#endif
23
24
+// clang-format off
25
// Allow each function `func` to have extra attributes specified by defining:
26
// `LLVM_LIBC_FUNCTION_ATTR_func` macro, which should always start with
27
// "LLVM_LIBC_EMPTY, "
28
//
29
// For examples:
30
// #define LLVM_LIBC_FUNCTION_ATTR_memcpy LLVM_LIBC_EMPTY, [[gnu::weak]]
31
// #define LLVM_LIBC_FUNCTION_ATTR_memchr LLVM_LIBC_EMPTY, [[gnu::weak]] [[gnu::visibility("default")]]
32
+// clang-format on
33
#define LLVM_LIBC_EMPTY
34
35
#define GET_SECOND(first, second, ...) second
0 commit comments