r220456 - Fix covered-switch warning.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Oct 22 18:03:46 PDT 2014
Author: rsmith
Date: Wed Oct 22 20:03:45 2014
New Revision: 220456
URL: http://llvm.org/viewvc/llvm-project?rev=220456&view=rev
Log:
Fix covered-switch warning.
Modified:
cfe/trunk/lib/Lex/ModuleMap.cpp
Modified: cfe/trunk/lib/Lex/ModuleMap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/ModuleMap.cpp?rev=220456&r1=220455&r2=220456&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/ModuleMap.cpp (original)
+++ cfe/trunk/lib/Lex/ModuleMap.cpp Wed Oct 22 20:03:45 2014
@@ -2305,6 +2305,7 @@ bool ModuleMapParser::parseModuleMapFile
case MMToken::RequiresKeyword:
case MMToken::Star:
case MMToken::StringLiteral:
+ case MMToken::TextualKeyword:
case MMToken::UmbrellaKeyword:
case MMToken::UseKeyword:
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module);
More information about the cfe-commits
mailing list