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

Chris Gyurgyik via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 10 14:10:53 PDT 2020


cgyurgyik created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.

Repository:
  rG LLVM Github Monorepo

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.277143.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200710/1f72d7ec/attachment.bin>


More information about the libc-commits mailing list