Skip to content

Commit

Permalink
[NFC] Fix warning on no return after switch.
Browse files Browse the repository at this point in the history
  • Loading branch information
python3kgae committed Oct 17, 2022
1 parent a10eb07 commit 0674f2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/CodeGen/CGHLSLRuntime.cpp
Expand Up @@ -270,6 +270,7 @@ castResourceShapeToResourceKind(HLSLResourceAttr::ResourceKind RK) {
static_cast<uint32_t>(
HLSLResourceAttr::ResourceKind::FeedbackTexture2DArray) ==
(static_cast<uint32_t>(llvm::hlsl::ResourceKind::NumEntries) - 2));
return llvm::hlsl::ResourceKind::Invalid;
}

void CGHLSLRuntime::annotateHLSLResource(const VarDecl *D, GlobalVariable *GV) {
Expand Down

0 comments on commit 0674f2e

Please sign in to comment.