aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/DriverOptions.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2009-12-10 00:07:02 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2009-12-10 00:07:02 +0000
commit68f7a2426227476bcfa33ada70b708c82419dfdc (patch)
treec78b4518065eee91f4f72e990703ed56b2ecf1ac /lib/Driver/DriverOptions.cpp
parent8755ec336108839b9621c3b18f0e175f8a3b671c (diff)
spread 'const' love to some variables. this considerably reduces the amount of dirty data around.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/DriverOptions.cpp')
-rw-r--r--lib/Driver/DriverOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/DriverOptions.cpp b/lib/Driver/DriverOptions.cpp
index d1af95cd45..72aaf56ad3 100644
--- a/lib/Driver/DriverOptions.cpp
+++ b/lib/Driver/DriverOptions.cpp
@@ -14,7 +14,7 @@
using namespace clang::driver;
using namespace clang::driver::options;
-static OptTable::Info InfoTable[] = {
+static const OptTable::Info InfoTable[] = {
#define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \
HELPTEXT, METAVAR) \
{ NAME, HELPTEXT, METAVAR, Option::KIND##Class, FLAGS, PARAM, \