summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/IndexingContext.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-24 16:59:14 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-03-24 16:59:14 +0000
commitdfbf049e7ffaf8cfcd5287e1a806bb085d5c2f90 (patch)
tree20d5fc17b72ebe75be8d60e95086b2c10e7d01b4 /clang/lib/Index/IndexingContext.cpp
parentd4521c2fc23b207cca9d45edd2b3a54bdc466193 (diff)
downloadbcm5719-llvm-dfbf049e7ffaf8cfcd5287e1a806bb085d5c2f90.tar.gz
bcm5719-llvm-dfbf049e7ffaf8cfcd5287e1a806bb085d5c2f90.zip
Fix MSVC 'not all control paths return a value' warning.
llvm-svn: 298712
Diffstat (limited to 'clang/lib/Index/IndexingContext.cpp')
-rw-r--r--clang/lib/Index/IndexingContext.cpp1
1 files changed, 1 insertions, 0 deletions
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;
};
OpenPOWER on IntegriCloud