summaryrefslogtreecommitdiff
path: root/lib/Frontend/LangStandards.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/LangStandards.cpp')
-rw-r--r--lib/Frontend/LangStandards.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/LangStandards.cpp b/lib/Frontend/LangStandards.cpp
index f86a574c30ab..f133327f4298 100644
--- a/lib/Frontend/LangStandards.cpp
+++ b/lib/Frontend/LangStandards.cpp
@@ -35,7 +35,7 @@ const LangStandard *LangStandard::getLangStandardForName(StringRef Name) {
#include "clang/Frontend/LangStandards.def"
.Default(lang_unspecified);
if (K == lang_unspecified)
- return 0;
+ return nullptr;
return &getLangStandardForKind(K);
}