Files
clang-p2996/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
Rui Ueyama 0230f7c763 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
2018-07-09 22:26:49 +00:00

2.3 KiB