commit | 60e6f3d4123a01babeb2c1a0e00d0a2b109008e5 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Jun 24 16:25:50 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Jun 24 16:25:50 2010 +0000 |
tree | 4bc3b68943635f63f61948b5519afca6240213d2 | |
parent | 8df08017d81ef3749acdc3234e3f33c15a6d0def [diff] |
Add overloads for getFile and getFileOrSTDIN which take a const char * instead of a StringRef, avoiding the need to copy the string in the common case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106754 91177308-0d34-0410-b5e6-96231b3b80d8