[libc-commits] [libc] [libc] Fix all imports of src/string/memory_utils (PR #114939)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Nov 11 09:29:56 PST 2024


================
@@ -8,8 +8,8 @@
 #ifndef LLVM_LIBC_SRC_STRING_MEMORY_UTILS_X86_64_INLINE_MEMSET_H
 #define LLVM_LIBC_SRC_STRING_MEMORY_UTILS_X86_64_INLINE_MEMSET_H
 
-#include "src/__support/macros/attributes.h" // LIBC_INLINE
-#include "src/__support/macros/config.h"
+#include "src/__support/macros/attributes.h" // LIBC_INLINE_VAR
----------------
nickdesaulniers wrote:

`LIBC_INLINE` is also used from this header.

```suggestion
#include "src/__support/macros/attributes.h" // LIBC_INLINE, LIBC_INLINE_VAR
```

https://github.com/llvm/llvm-project/pull/114939


More information about the libc-commits mailing list