Author: rksimon Date: Sat Oct 20 06:18:49 2018 New Revision: 344844 URL: http://llvm.org/viewvc/llvm-project?rev=344844&view=rev Log: Fix MSVC "not all control paths return a value" warning. NFCI.
Modified: clang-tools-extra/trunk/clangd/index/FileIndex.cpp Modified: clang-tools-extra/trunk/clangd/index/FileIndex.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/FileIndex.cpp?rev=344844&r1=344843&r2=344844&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/index/FileIndex.cpp (original) +++ clang-tools-extra/trunk/clangd/index/FileIndex.cpp Sat Oct 20 06:18:49 2018 @@ -160,6 +160,7 @@ FileSymbols::buildIndex(IndexType Type, std::move(RefsStorage)), StorageSize, std::move(URISchemes)); } + llvm_unreachable("Unknown clangd::IndexType"); } FileIndex::FileIndex(std::vector<std::string> URISchemes, bool UseDex) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits