[libc-commits] [libc] [libc] Replace relative includes with absolute paths in attributes.h (PR #179649)

via libc-commits libc-commits at lists.llvm.org
Wed Feb 4 04:36:58 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: MetalInMyVeins (MetalInMyVeins)

<details>
<summary>Changes</summary>

This patch updates `src/__support/macros/attributes.h` to use absolute include paths instead of relative ones.

---
Full diff: https://github.com/llvm/llvm-project/pull/179649.diff


1 Files Affected:

- (modified) libc/src/__support/macros/attributes.h (+2-2) 


``````````diff
diff --git a/libc/src/__support/macros/attributes.h b/libc/src/__support/macros/attributes.h
index d5ff028634940..66318e3ec8e23 100644
--- a/libc/src/__support/macros/attributes.h
+++ b/libc/src/__support/macros/attributes.h
@@ -17,8 +17,8 @@
 #ifndef LLVM_LIBC_SRC___SUPPORT_MACROS_ATTRIBUTES_H
 #define LLVM_LIBC_SRC___SUPPORT_MACROS_ATTRIBUTES_H
 
-#include "config.h"
-#include "properties/architectures.h"
+#include "src/__support/macros/config.h"
+#include "src/__support/macros/properties/architectures.h"
 
 #ifndef __has_attribute
 #define __has_attribute(x) 0

``````````

</details>


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


More information about the libc-commits mailing list