From 28d7f1af85b9748354f27747f8afa23e674b2fa7 Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Sat, 22 Feb 2014 00:44:02 +0000 Subject: [PATCH] Silence a warning from r201905 Avoid a warning about reaching the end of a non-void function after a covered switch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201919 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/VirtualFileSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Basic/VirtualFileSystem.cpp b/lib/Basic/VirtualFileSystem.cpp index 665fcc7af4..a107db68e4 100644 --- a/lib/Basic/VirtualFileSystem.cpp +++ b/lib/Basic/VirtualFileSystem.cpp @@ -554,6 +554,7 @@ class VFSFromYAMLParser { Status("", "", getNextVirtualUniqueID(), sys::TimeValue::now(), 0, 0, 0, file_type::directory_file, sys::fs::all_all)); } + llvm_unreachable("unknown EntryKind in switch"); } public: -- 2.40.0