Skip to content

Commit

Permalink
[Transforms] DXILResource.cpp - fix MSVC "not all control paths retur…
Browse files Browse the repository at this point in the history
…n a value" warning. NFC.
  • Loading branch information
RKSimon committed Jul 17, 2024
1 parent 73799b4 commit daab6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Transforms/Utils/DXILResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ bool ResourceInfo::isTyped() const {
case ResourceKind::NumEntries:
llvm_unreachable("Invalid resource kind");
}
llvm_unreachable("Unhandled ResourceKind enum");
}

bool ResourceInfo::isFeedback() const {
Expand Down

0 comments on commit daab6fc

Please sign in to comment.