Skip to content

Commit daab6fc

Browse files
committed
[Transforms] DXILResource.cpp - fix MSVC "not all control paths return a value" warning. NFC.
1 parent 73799b4 commit daab6fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Utils/DXILResource.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ bool ResourceInfo::isTyped() const {
4949
case ResourceKind::NumEntries:
5050
llvm_unreachable("Invalid resource kind");
5151
}
52+
llvm_unreachable("Unhandled ResourceKind enum");
5253
}
5354

5455
bool ResourceInfo::isFeedback() const {

0 commit comments

Comments
 (0)