[libc] Move implementations of strcat and strcpy to the string directory.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 6 Jan 2020 18:38:45 +0000 (10:38 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 7 Jan 2020 06:20:42 +0000 (22:20 -0800)
commit188f72ab20d9523d6ffde8ad8361ecf17bb75946
tree62f8f376c1e80f35af0861ff4fc967f1c3ca4325
parent4c6a098ad52fc2844f7733bc051cd7a729500f04
[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
libc/src/string/CMakeLists.txt
libc/src/string/strcat.cpp [moved from libc/src/string/strcat/strcat.cpp with 90% similarity]
libc/src/string/strcat.h [moved from libc/src/string/strcat/strcat.h with 100% similarity]
libc/src/string/strcat/CMakeLists.txt [deleted file]
libc/src/string/strcpy.cpp [moved from libc/src/string/strcpy/strcpy.cpp with 94% similarity]
libc/src/string/strcpy.h [moved from libc/src/string/strcpy/strcpy.h with 100% similarity]
libc/src/string/strcpy/CMakeLists.txt [deleted file]
libc/test/src/string/strcat_test.cpp
libc/test/src/string/strcpy_test.cpp