summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-04-14 14:01:49 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-04-14 14:01:49 +0000
commit12886f04eae965b2a40df3f8e4ef6cb1a2c67605 (patch)
tree38f37dccd2b462d5c7efe9eb13135579d921a420 /llvm/lib/CodeGen
parent065480daf2e902f06641183060404beb2a80c369 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud