llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-hlsl Author: Simon Pilgrim (RKSimon) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/179203.diff 1 Files Affected: - (modified) clang/include/clang/AST/HLSLResource.h (+1) ``````````diff diff --git a/clang/include/clang/AST/HLSLResource.h b/clang/include/clang/AST/HLSLResource.h index 071e59d72d983..aedb2cd5db6ba 100644 --- a/clang/include/clang/AST/HLSLResource.h +++ b/clang/include/clang/AST/HLSLResource.h @@ -106,6 +106,7 @@ inline uint32_t getResourceDimensions(llvm::dxil::ResourceDimension Dim) { llvm_unreachable( "We cannot get the dimension of a resource with unknown dimension."); } + llvm_unreachable("Unhandled llvm::dxil::ResourceDimension enum."); } } // namespace hlsl `````````` </details> https://github.com/llvm/llvm-project/pull/179203 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
