diff options
| author | Craig Topper <craig.topper@gmail.com> | 2013-07-15 08:02:13 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2013-07-15 08:02:13 +0000 |
| commit | 3c70fcf02b367f517e93c1bd4ce237966383ebf8 (patch) | |
| tree | 94a5588281384bcbca86d03c38a4ffc5efee4667 /utils/TableGen | |
| parent | f67c7d7e8c5949037e85dd233876989c1fea7099 (diff) | |
| download | external_llvm-3c70fcf02b367f517e93c1bd4ce237966383ebf8.zip external_llvm-3c70fcf02b367f517e93c1bd4ce237966383ebf8.tar.gz external_llvm-3c70fcf02b367f517e93c1bd4ce237966383ebf8.tar.bz2 | |
Add 'const' qualifier to some arrays.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
| -rw-r--r-- | utils/TableGen/CodeGenTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp index a85ad09..b2c883d 100644 --- a/utils/TableGen/CodeGenTarget.cpp +++ b/utils/TableGen/CodeGenTarget.cpp @@ -298,7 +298,7 @@ struct SortInstByName { /// target, ordered by their enum value. void CodeGenTarget::ComputeInstrsByEnum() const { // The ordering here must match the ordering in TargetOpcodes.h. - const char *const FixedInstrs[] = { + static const char *const FixedInstrs[] = { "PHI", "INLINEASM", "PROLOG_LABEL", |
