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) {
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 },