]> granicus.if.org Git - clang/commit
[cleanup] Rename this function to better reflect its purpose. NFC.
authorSean Silva <chisophugis@gmail.com>
Fri, 15 Aug 2014 19:23:53 +0000 (19:23 +0000)
committerSean Silva <chisophugis@gmail.com>
Fri, 15 Aug 2014 19:23:53 +0000 (19:23 +0000)
commitaa2581145e0e8d3cd67ac8002c46856b4524c38f
tree6b40f5cf218dee2f1307db11dfb8d75a54b99732
parent731b3becbfe59999d21e8f3a78322e523e893032
[cleanup] Rename this function to better reflect its purpose. NFC.

This also suggests some refactoring to simplify this code. Basically, a
ton of complexity in this argument handling code comes from the need to
save const char *'s in stable storage for pushing onto argv.
It seems like llvm::cl::StringSaver can be improved to cover all the
needs here.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215761 91177308-0d34-0410-b5e6-96231b3b80d8
tools/driver/driver.cpp