Skip to content

Commit 090f9d5

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent cd5ab56 commit 090f9d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Tooling/Syntax/BuildTree.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ class BuildTreeVisitor : public RecursiveASTVisitor<BuildTreeVisitor> {
769769
llvm::report_fatal_error("We don't yet support the __super specifier",
770770
true);
771771
}
772+
llvm_unreachable("Unhandled NestedNameSpecifier::SpecifierKind enum");
772773
}
773774

774775
// FIXME: Fix `NestedNameSpecifierLoc::getLocalSourceRange` for the

0 commit comments

Comments
 (0)