Fix "not all control paths return a value" warning on MSVC

llvm-svn: 274011
This commit is contained in:
Simon Pilgrim 2016-06-28 12:55:35 +00:00
parent cdf257f4d8
commit d95a172389
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ SourceCoverageView::create(StringRef SourceName, const MemoryBuffer &File,
return llvm::make_unique<SourceCoverageViewText>(SourceName, File, Options,
std::move(CoverageInfo));
}
llvm_unreachable("Unknown coverage output format!");
}
void SourceCoverageView::print(raw_ostream &OS, bool WholeFile,