summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index ac5ae1e311e..9c3a39f4f6c 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -603,8 +603,7 @@ void ModuleMapParser::parseModuleDecl() {
// Parse 'module' keyword.
if (!Tok.is(MMToken::ModuleKeyword)) {
- Diags.Report(Tok.getLocation(),
- diag::err_mmap_expected_module_after_explicit);
+ Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module);
consumeToken();
HadError = true;
return;
OpenPOWER on IntegriCloud