[libc-commits] [libc] [libc] Remove `config.h` self-inclusion (PR #98670)

via libc-commits libc-commits at lists.llvm.org
Fri Jul 12 10:54:47 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Petr Hosek (petrhosek)

<details>
<summary>Changes</summary>

This was accidentally introduced in #<!-- -->98597.

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


1 Files Affected:

- (modified) libc/src/__support/macros/config.h (-1) 


``````````diff
diff --git a/libc/src/__support/macros/config.h b/libc/src/__support/macros/config.h
index 8b1263e08249c..2ab0fba095e6b 100644
--- a/libc/src/__support/macros/config.h
+++ b/libc/src/__support/macros/config.h
@@ -15,7 +15,6 @@
 
 // Workaround for compilers that do not support builtin detection.
 // FIXME: This is only required for the GPU portion which should be moved.
-#include "src/__support/macros/config.h"
 #ifndef __has_builtin
 #define __has_builtin(b) 0
 #endif

``````````

</details>


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


More information about the libc-commits mailing list