diff options
| author | Raphael Isemann <teemperor@gmail.com> | 2019-04-14 14:01:49 +0000 | 
|---|---|---|
| committer | Raphael Isemann <teemperor@gmail.com> | 2019-04-14 14:01:49 +0000 | 
| commit | 12886f04eae965b2a40df3f8e4ef6cb1a2c67605 (patch) | |
| tree | 38f37dccd2b462d5c7efe9eb13135579d921a420 /llvm/lib/CodeGen | |
| parent | 065480daf2e902f06641183060404beb2a80c369 (diff) | |
| download | bcm5719-llvm-12886f04eae965b2a40df3f8e4ef6cb1a2c67605.tar.gz bcm5719-llvm-12886f04eae965b2a40df3f8e4ef6cb1a2c67605.zip | |
Prevent unnecessary conversion from StringRef to C-string [NFC]
There is an alternative method to GetConstCStringWithLength that
takes a StringRef. GetConstCStringWithLength also calls this
method in the end, so directly calling the StringRef saves
us from a unnecessary conversion to a C-string.
llvm-svn: 358357
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

