diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-10-21 16:12:37 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-10-21 16:12:37 +0000 |
commit | 16f4f78b4ba039deddb5a8ca5747de6270a28d0b (patch) | |
tree | bed05678974bf8c698ac2cb900b59fb75cfc9ebb /llvm/unittests/IR/DebugInfoTest.cpp | |
parent | 7055365e7709cfce1fd3fa510ff70f37497bca3e (diff) | |
download | bcm5719-llvm-16f4f78b4ba039deddb5a8ca5747de6270a28d0b.tar.gz bcm5719-llvm-16f4f78b4ba039deddb5a8ca5747de6270a28d0b.zip |
Silence a -Wcast-qual warning; NFC.
llvm-svn: 220300
Diffstat (limited to 'llvm/unittests/IR/DebugInfoTest.cpp')
-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; |