aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-04-21 14:45:25 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-04-21 14:45:25 +0000
commit79e244f49a60a90167d23daf387dc600d603641d (patch)
treef482b908b672d708ef6ea2d9a93c4f332a207a82 /lib/Sema/SemaOverload.cpp
parentc86d1fdb7b785c34d14fd83a470b395466c69e5d (diff)
move some stuff to .rodata
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r--lib/Sema/SemaOverload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp
index 50230f068d..ea7e0e8a80 100644
--- a/lib/Sema/SemaOverload.cpp
+++ b/lib/Sema/SemaOverload.cpp
@@ -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 },