commit | 1897a62c2efa7867857d280a77444ef8f421c37e | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Mon Jul 09 22:26:49 2018 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Mon Jul 09 22:26:49 2018 +0000 |
tree | 576714bf5dff4b2e07fb0a66202ab8b36d18d264 | |
parent | 401e29e8b781adda1eb2b4ab925217365b19b0be [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336612 91177308-0d34-0410-b5e6-96231b3b80d8