From: Aaron Ballman Date: Tue, 21 Oct 2014 16:12:37 +0000 (+0000) Subject: Silence a -Wcast-qual warning; NFC. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16f4f78b4ba039deddb5a8ca5747de6270a28d0b;p=platform%2Fupstream%2Fllvm.git Silence a -Wcast-qual warning; NFC. llvm-svn: 220300 --- diff --git a/llvm/unittests/IR/DebugInfoTest.cpp b/llvm/unittests/IR/DebugInfoTest.cpp index e8bbe61..1fa851e 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;