Skip to content

Commit f15924d

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent 58a0c95 commit f15924d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/NestedNameSpecifier.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ NestedNameSpecifier::translateToType(const ASTContext &Context) const {
289289
// These are not representable as types.
290290
return nullptr;
291291
}
292+
llvm_unreachable("Unhandled SpecifierKind enum");
292293
}
293294

294295
/// Print this nested name specifier to the given output

0 commit comments

Comments
 (0)