mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +00:00
Silence a -Wcast-qual warning; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60944622ca
commit
72376cccc5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user