aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/LangStandards.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/LangStandards.cpp')
-rw-r--r--lib/Frontend/LangStandards.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Frontend/LangStandards.cpp b/lib/Frontend/LangStandards.cpp
index 771a58c60501..ed0ea1f45ef6 100644
--- a/lib/Frontend/LangStandards.cpp
+++ b/lib/Frontend/LangStandards.cpp
@@ -14,13 +14,13 @@ 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) {
switch (K) {
default:
- llvm::llvm_unreachable("Invalid language kind!");
+ llvm_unreachable("Invalid language kind!");
case lang_unspecified:
llvm::llvm_report_error("getLangStandardForKind() on unspecified kind");
#define LANGSTANDARD(id, name, desc, features) \