diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2009-12-10 00:07:02 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2009-12-10 00:07:02 +0000 |
commit | 68f7a2426227476bcfa33ada70b708c82419dfdc (patch) | |
tree | c78b4518065eee91f4f72e990703ed56b2ecf1ac /lib/Frontend | |
parent | 8755ec336108839b9621c3b18f0e175f8a3b671c (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/Frontend')
-rw-r--r-- | lib/Frontend/LangStandards.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/LangStandards.cpp b/lib/Frontend/LangStandards.cpp index 771a58c605..08fd9329f2 100644 --- a/lib/Frontend/LangStandards.cpp +++ b/lib/Frontend/LangStandards.cpp @@ -14,7 +14,7 @@ using namespace clang; using namespace clang::frontend; #define LANGSTANDARD(id, name, desc, features) \ - static LangStandard Lang_##id = { name, desc, features }; + static const LangStandard Lang_##id = { name, desc, features }; #include "clang/Frontend/LangStandards.def" const LangStandard &LangStandard::getLangStandardForKind(Kind K) { |