[libc-commits] [libc] [libc] Correct include path for wchar_utils.h in libc/src/wchar/wcspbrk.cpp (PR #151059)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 28 16:51:18 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Jin Huang (jinhuang1102)

<details>
<summary>Changes</summary>

A previous change incorrectly included `wchar_util.h` using a broken relative path. This change corrects the path to `#include "src/wchar/wchar_utils.h"`.

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


1 Files Affected:

- (modified) libc/src/wchar/wcspbrk.cpp (+1-1) 


``````````diff
diff --git a/libc/src/wchar/wcspbrk.cpp b/libc/src/wchar/wcspbrk.cpp
index 5d86a494bdf39..f329b73f9ee70 100644
--- a/libc/src/wchar/wcspbrk.cpp
+++ b/libc/src/wchar/wcspbrk.cpp
@@ -11,7 +11,7 @@
 #include "hdr/types/wchar_t.h"
 #include "src/__support/common.h"
 #include "src/__support/macros/null_check.h"
-#include "wchar_utils.h"
+#include "src/wchar/wchar_utils.h"
 
 namespace LIBC_NAMESPACE_DECL {
 

``````````

</details>


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


More information about the libc-commits mailing list