Skip to content
Commit 3309ef6f authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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
parent 2d55698e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment