зеркало из https://github.com/microsoft/clang-1.git
move some stuff to .rodata
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
c86d1fdb7b
Коммит
79e244f49a
|
@ -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) {
|
||||
|
|
|
@ -6426,7 +6426,7 @@ class BuiltinOperatorOverloadBuilder {
|
|||
enum PromotedType {
|
||||
Flt, Dbl, LDbl, SI, SL, SLL, UI, UL, ULL, Dep=-1
|
||||
};
|
||||
static PromotedType ConversionsTable[LastPromotedArithmeticType]
|
||||
static const PromotedType ConversionsTable[LastPromotedArithmeticType]
|
||||
[LastPromotedArithmeticType] = {
|
||||
/* Flt*/ { Flt, Dbl, LDbl, Flt, Flt, Flt, Flt, Flt, Flt },
|
||||
/* Dbl*/ { Dbl, Dbl, LDbl, Dbl, Dbl, Dbl, Dbl, Dbl, Dbl },
|
||||
|
|
Загрузка…
Ссылка в новой задаче