[all-commits] [llvm/llvm-project] 5f4dc9: Fix build failure in DXILResource.h on newer versi...
Daniel Paoliello via All-commits
all-commits at lists.llvm.org
Fri May 9 16:40:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f4dc9b924e69319b1308053518b5fab33397b69
https://github.com/llvm/llvm-project/commit/5f4dc9b924e69319b1308053518b5fab33397b69
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M llvm/include/llvm/Analysis/DXILResource.h
Log Message:
-----------
Fix build failure in DXILResource.h on newer versions of MSVC (#139309)
The change #137258 introduced a build break on newer versions of MSVC:
```
llvm\include\llvm\Analysis\DXILResource.h(674) : warning C4715: 'llvm::DXILResourceBindingInfo::getBindingSpaces': not all control paths return a value
```
Fix is to add a `default` case that will ICE.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list