]> granicus.if.org Git - clang/commitdiff
Fix covered-switch warning.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Oct 2014 01:03:45 +0000 (01:03 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 23 Oct 2014 01:03:45 +0000 (01:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220456 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/ModuleMap.cpp

index f5fc111631a03243d2634228619d56f7ca1ba9d4..865b62a6a670fe84e409cb7d67f48a5ed1885459 100644 (file)
@@ -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);