From dfbf049e7ffaf8cfcd5287e1a806bb085d5c2f90 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 24 Mar 2017 16:59:14 +0000 Subject: Fix MSVC 'not all control paths return a value' warning. llvm-svn: 298712 --- clang/lib/Index/IndexingContext.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Index/IndexingContext.cpp') diff --git a/clang/lib/Index/IndexingContext.cpp b/clang/lib/Index/IndexingContext.cpp index c5ccf45957a..f393b11ab88 100644 --- a/clang/lib/Index/IndexingContext.cpp +++ b/clang/lib/Index/IndexingContext.cpp @@ -235,6 +235,7 @@ static bool shouldReportOccurrenceForSystemDeclOnlyMode( case SymbolRole::RelationContainedBy: return true; } + llvm_unreachable("Unsupported SymbolRole value!"); }); return accept; }; -- cgit v1.2.3