diff options
author | Rui Ueyama <ruiu@google.com> | 2018-07-09 22:26:49 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-07-09 22:26:49 +0000 |
commit | 0230f7c763c5b5f988f629506f0ce050fbacaed4 (patch) | |
tree | 5b4087baf5c45a9b459ff0165eca85153a9fd980 /llvm/lib/Analysis | |
parent | 3fbfa9c40377f1af163070dd4a44d1b39dd661a4 (diff) | |
download | bcm5719-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')
0 files changed, 0 insertions, 0 deletions