[libc] Add restrict qualifiers to string library; give consistent naming scheme to TableGen files.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D85945
This commit is contained in:
cgyurgyik committed 2020-08-14 15:41:02 -04:00
1 parent 537f5483fe
commit 79ce64ea08
10 files changed
+27 -23

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@
namespace __llvm_libc {
char *LLVM_LIBC_ENTRYPOINT(strcpy)(char *dest, const char *src) {
char *LLVM_LIBC_ENTRYPOINT(strcpy)(char *__restrict dest,
const char *__restrict src) {
return reinterpret_cast<char *>(
__llvm_libc::memcpy(dest, src, __llvm_libc::strlen(src) + 1));
}