[libc-commits] [PATCH] D83589: [libc] [Obvious] Remove unneeded header in strchr.

Chris Gyurgyik via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 10 16:35:08 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7859242a3713: [libc] [Obvious] Remove unneeded header in strchr. (authored by cgyurgyik).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83589/new/

https://reviews.llvm.org/D83589

Files:
  libc/src/string/CMakeLists.txt
  libc/src/string/strchr.cpp


Index: libc/src/string/strchr.cpp
===================================================================
--- libc/src/string/strchr.cpp
+++ libc/src/string/strchr.cpp
@@ -7,7 +7,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "src/string/strchr.h"
-#include "src/string/strlen.h"
 
 #include "src/__support/common.h"
 
Index: libc/src/string/CMakeLists.txt
===================================================================
--- libc/src/string/CMakeLists.txt
+++ libc/src/string/CMakeLists.txt
@@ -58,8 +58,6 @@
     strchr.cpp
   HDRS
     strchr.h
-  DEPENDS
-    .strlen
 )
 
 # Helper to define a function with multiple implementations


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83589.277165.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200710/ab54d1e2/attachment-0001.bin>


More information about the libc-commits mailing list