summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LazyValueInfo.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-07-09 22:26:49 +0000
committerRui Ueyama <ruiu@google.com>2018-07-09 22:26:49 +0000
commit0230f7c763c5b5f988f629506f0ce050fbacaed4 (patch)
tree5b4087baf5c45a9b459ff0165eca85153a9fd980 /llvm/lib/Analysis/LazyValueInfo.cpp
parent3fbfa9c40377f1af163070dd4a44d1b39dd661a4 (diff)
downloadbcm5719-llvm-0230f7c763c5b5f988f629506f0ce050fbacaed4.tar.gz
bcm5719-llvm-0230f7c763c5b5f988f629506f0ce050fbacaed4.zip
Use StringRef instead of `const char *`.
I don't think there's a need to use `const char *`. In most (probably all?) cases, we need a length of a name later, so discarding a length will lead to a wasted effort. Differential Revision: https://reviews.llvm.org/D49046 llvm-svn: 336612
Diffstat (limited to 'llvm/lib/Analysis/LazyValueInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud