]> granicus.if.org Git - clang/commit
silence -Wreturn-type warnings
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 15 Feb 2016 00:36:52 +0000 (00:36 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 15 Feb 2016 00:36:52 +0000 (00:36 +0000)
commit73a2603c075db5587dfb70eee7fb7f0476836aaa
treef9a19314db534d710f68893551996e0c24615d04
parentdb8ea1d1319e0a3fb5b3f9bd038766352710b89f
silence -Wreturn-type warnings

These codepaths would generate warnings with GCC on linux even though the switch
was covered.  Add llvm_unreachable markers to indicate that the switch should be
covered.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260865 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexSymbol.cpp
lib/Index/IndexingContext.cpp
tools/libclang/CXIndexDataConsumer.cpp