summaryrefslogtreecommitdiffstats
path: root/libc/test/src
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-01-06 10:38:45 -0800
committerSiva Chandra Reddy <sivachandra@google.com>2020-01-06 22:20:42 -0800
commit188f72ab20d9523d6ffde8ad8361ecf17bb75946 (patch)
tree62f8f376c1e80f35af0861ff4fc967f1c3ca4325 /libc/test/src
parent4c6a098ad52fc2844f7733bc051cd7a729500f04 (diff)
downloadbcm5719-llvm-188f72ab20d9523d6ffde8ad8361ecf17bb75946.tar.gz
bcm5719-llvm-188f72ab20d9523d6ffde8ad8361ecf17bb75946.zip
[libc] Move implementations of strcat and strcpy to the string directory.
Summary: Now that tests live in separate top-level directory, keeping the implementations of individual functions in a directory of their own is not meaningful. Hence, this change moves them into the higher level string directory. NFC intended. Reviewers: MaskRay Subscribers: mgorny, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D72295
Diffstat (limited to 'libc/test/src')
-rw-r--r--libc/test/src/string/strcat_test.cpp2
-rw-r--r--libc/test/src/string/strcpy_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/test/src/string/strcat_test.cpp b/libc/test/src/string/strcat_test.cpp
index 3b8a7a7e447..fde432bcec8 100644
--- a/libc/test/src/string/strcat_test.cpp
+++ b/libc/test/src/string/strcat_test.cpp
@@ -8,7 +8,7 @@
#include <string>
-#include "src/string/strcat/strcat.h"
+#include "src/string/strcat.h"
#include "gtest/gtest.h"
TEST(StrCatTest, EmptyDest) {
diff --git a/libc/test/src/string/strcpy_test.cpp b/libc/test/src/string/strcpy_test.cpp
index e68ea5103db..56f75ac9e5f 100644
--- a/libc/test/src/string/strcpy_test.cpp
+++ b/libc/test/src/string/strcpy_test.cpp
@@ -8,7 +8,7 @@
#include <string>
-#include "src/string/strcpy/strcpy.h"
+#include "src/string/strcpy.h"
#include "gtest/gtest.h"
TEST(StrCpyTest, EmptyDest) {
OpenPOWER on IntegriCloud