Skip to content

Commit c10138a

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent b87e5a0 commit c10138a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Interpreter/Interpreter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ class RuntimeInterfaceBuilder
540540
E->getBeginLoc(), Args, E->getEndLoc());
541541
}
542542
}
543+
llvm_unreachable("Unhandled Interpreter::InterfaceKind");
543544
}
544545

545546
Interpreter::InterfaceKind VisitRecordType(const RecordType *Ty) {

0 commit comments

Comments
 (0)