diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-12-06 19:57:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-12-06 19:57:48 +0000 |
commit | e6fb9876970e2dc55f091522644efa16caa9ba06 (patch) | |
tree | 3ed2b17d1f946e0f4c8170172709e2263327351c /lib/Lex/ModuleMap.cpp | |
parent | ac252a3b0f8101a7274309e4a5cf2d5f0fdba675 (diff) |
Remove misleading error message
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/ModuleMap.cpp')
-rw-r--r-- | lib/Lex/ModuleMap.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Lex/ModuleMap.cpp b/lib/Lex/ModuleMap.cpp index ac5ae1e311..9c3a39f4f6 100644 --- a/lib/Lex/ModuleMap.cpp +++ b/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; |