commit | 6477842ceebcab08b7ca07b7ea92a679161fd32f | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Oct 07 18:58:55 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Oct 07 18:58:55 2014 +0000 |
tree | 0e2b1748ba6c898d4c609dc27437f89d3e8b8bdd | |
parent | 5c98f14b787e476636196939eb4dbfcce8615906 [diff] |
Be consistent about using "const Twine &" for filenames. On this file we had a mix of * Twine * const char * * StringRef The two that make sense are * const Twine & (caller convenience) * consc char * (that is what will eventually be passed to open. Given that sys::fs::openFileForRead takes a "const Twine &", I picked that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219224 91177308-0d34-0410-b5e6-96231b3b80d8