These switch statements are fully covered. Add an llvm_unreachable so
that compilers that don't recognize that don't warn.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D154882
[DirectX] Fix two "not all control paths return a value" warnings ClosedPublic Authored by bogner on Jul 10 2023, 1:19 PM.
Details Summary These switch statements are fully covered. Add an llvm_unreachable so
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 10 2023, 1:22 PM This revision was landed with ongoing or failed builds.Jul 10 2023, 3:35 PM Closed by commit rG7f9ba1994a23: [DirectX] Fix two "not all control paths return a value" warnings (authored by bogner). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 538855 llvm/lib/Target/DirectX/DXILResource.cpp
|