diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-05-24 06:35:32 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-05-24 06:35:32 +0000 |
commit | e32981048244ecfa67d0bdc211af1bac2020a555 (patch) | |
tree | f1e20b73c68c5cddf35e87cddd26918eb2f155d4 /lib/MC/MCDisassembler | |
parent | c5ce4d1d52a30c52c2ffa8d281e874db4d7f3eda (diff) |
Mark some static arrays as const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDisassembler')
-rw-r--r-- | lib/MC/MCDisassembler/EDDisassembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCDisassembler/EDDisassembler.cpp b/lib/MC/MCDisassembler/EDDisassembler.cpp index b2672ca3cc..6b52374d39 100644 --- a/lib/MC/MCDisassembler/EDDisassembler.cpp +++ b/lib/MC/MCDisassembler/EDDisassembler.cpp @@ -44,7 +44,7 @@ struct TripleMap { const char *String; }; -static struct TripleMap triplemap[] = { +static const struct TripleMap triplemap[] = { { Triple::x86, "i386-unknown-unknown" }, { Triple::x86_64, "x86_64-unknown-unknown" }, { Triple::arm, "arm-unknown-unknown" }, |