diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-07 18:58:55 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-07 18:58:55 +0000 |
| commit | 0cb3c9bb248780fe5eb32604bd8ea0c82d4e018f (patch) | |
| tree | 2d20f157dc4b7568cc37ad9a0f3e2a116f43d556 /llvm/lib/CodeGen/MachineFunction.cpp | |
| parent | 963bc87dbde1874f658b5ae85a431faaca5df3b8 (diff) | |
| download | llvm-0cb3c9bb248780fe5eb32604bd8ea0c82d4e018f.zip llvm-0cb3c9bb248780fe5eb32604bd8ea0c82d4e018f.tar.gz llvm-0cb3c9bb248780fe5eb32604bd8ea0c82d4e018f.tar.bz2 | |
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.
llvm-svn: 219224
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
