diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-08-30 07:51:04 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-08-30 07:51:04 +0000 |
commit | 3309ef6f02854949f9d64d69f82504c362fe3fd1 (patch) | |
tree | 7513d23f4fab9ad1a95aaa1d3bb23d0a5c83e3d9 /clang/lib/Basic/Targets.cpp | |
parent | 2d55698ed7509c3b0bccf898e120a713b4ebcd34 (diff) | |
download | bcm5719-llvm-3309ef6f02854949f9d64d69f82504c362fe3fd1.tar.gz bcm5719-llvm-3309ef6f02854949f9d64d69f82504c362fe3fd1.zip |
Teach the target parsing framework to directly compute the length of all
of its strings when expanding the string literals from the macros, and
push all of the APIs to be StringRef instead of C-string APIs.
This (remarkably) removes a very non-trivial number of strlen calls. It
even deletes code and complexity from one of the primary users -- Clang.
llvm-svn: 246374
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions