projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
InstrProf: Simplify some logic by using ArrayRef::slice (NFC)
[oota-llvm.git]
/
unittests
/
IR
/
DebugInfoTest.cpp
diff --git
a/unittests/IR/DebugInfoTest.cpp
b/unittests/IR/DebugInfoTest.cpp
index e8bbe61d45f09b47561b6c8fff3049992ec01164..1fa851e39ae98f4b616b553713c5e0460951fc28 100644
(file)
--- a/
unittests/IR/DebugInfoTest.cpp
+++ b/
unittests/IR/DebugInfoTest.cpp
@@
-15,7
+15,7
@@
using namespace llvm;
namespace llvm {
static void PrintTo(const StringRef &S, ::std::ostream *os) {
- *os << "(" << (void *)S.data() << "," << S.size() << ") = '";
+ *os << "(" << (
const
void *)S.data() << "," << S.size() << ") = '";
for (auto C : S)
if (C)
*os << C;