forked from OSchip/llvm-project
08426e1f9f
This simplifies some code which had StringRefs to begin with, and makes other code more complicated which had const char* to begin with. In the end, I think this makes for a more idiomatic and platform agnostic API. Not all platforms launch process with null terminated c-string arrays for the environment pointer and argv, but the api was designed that way because it allowed easy pass-through for posix-based platforms. There's a little additional overhead now since on posix based platforms we'll be takign StringRefs which were constructed from null terminated strings and then copying them to null terminate them again, but from a readability and usability standpoint of the API user, I think this API signature is strictly better. llvm-svn: 334518 |
||
---|---|---|
.. | ||
Inputs | ||
CMakeLists.txt | ||
TestClangASTContext.cpp | ||
TestDWARFCallFrameInfo.cpp | ||
TestType.cpp |