Silence a -Wcast-qual warning; NFC.

llvm-svn: 220300
This commit is contained in:
Aaron Ballman 2014-10-21 16:12:37 +00:00
parent 7055365e77
commit 16f4f78b4b
1 changed files with 1 additions and 1 deletions

View File

@ -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;