summaryrefslogtreecommitdiffstats
path: root/lib/AST/DeclarationName.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-12-23 17:49:57 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-12-23 17:49:57 +0000
commit2550d70aabb5f603e8f74cc5fb6a69a7af5b51f3 (patch)
treeb46362fa31c6667a12e9f721014d0bb7e76afbd3 /lib/AST/DeclarationName.cpp
parentd7557e3f143a6a6c504aafebc4a9b5cce6c6d5c2 (diff)
move a few more symbols to .rodata/.data.rel.ro
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r--lib/AST/DeclarationName.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp
index 0ce03c2140..60c40e24fb 100644
--- a/lib/AST/DeclarationName.cpp
+++ b/lib/AST/DeclarationName.cpp
@@ -210,7 +210,7 @@ std::string DeclarationName::getAsString() const {
}
case CXXOperatorName: {
- static const char *OperatorNames[NUM_OVERLOADED_OPERATORS] = {
+ static const char* const OperatorNames[NUM_OVERLOADED_OPERATORS] = {
0,
#define OVERLOADED_OPERATOR(Name,Spelling,Token,Unary,Binary,MemberOnly) \
Spelling,