diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-04-21 14:45:25 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-04-21 14:45:25 +0000 |
commit | 9af6b0350c616d4b011bd2d937029466c7e64036 (patch) | |
tree | 804f0d640746ea7555c25e85705381cb3cd4fc68 /clang/lib/AST/StmtPrinter.cpp | |
parent | df3d5ea990d25f1383363887ec8a95cf2a0f7d80 (diff) | |
download | bcm5719-llvm-9af6b0350c616d4b011bd2d937029466c7e64036.tar.gz bcm5719-llvm-9af6b0350c616d4b011bd2d937029466c7e64036.zip |
move some stuff to .rodata
llvm-svn: 155282
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index af8e5c792a4..7309e7c889a 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -742,7 +742,7 @@ void StmtPrinter::VisitStringLiteral(StringLiteral *Str) { case StringLiteral::UTF32: OS << 'U'; break; } OS << '"'; - static char Hex[] = "0123456789ABCDEF"; + static const char Hex[] = "0123456789ABCDEF"; unsigned LastSlashX = Str->getLength(); for (unsigned I = 0, N = Str->getLength(); I != N; ++I) { |