diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/unittests/IR/DebugInfoTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/IR/DebugInfoTest.cpp b/llvm/unittests/IR/DebugInfoTest.cpp index e8bbe61d45f..1fa851e39ae 100644 --- a/llvm/unittests/IR/DebugInfoTest.cpp +++ b/llvm/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; |