From: Ben Langmuir Date: Sat, 22 Feb 2014 00:44:02 +0000 (+0000) Subject: Silence a warning from r201905 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28d7f1af85b9748354f27747f8afa23e674b2fa7;p=clang 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 --- 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: