Skip to content

Commit b80f7d1

Browse files
RKSimongithub-actions[bot]
authored andcommitted
Automerge: Fix MSVC "not all control paths return a value" warning. NFCI.
2 parents be0a7cd + 3c6c5c7 commit b80f7d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ storageClassRequiresExplictLayout(SPIRV::StorageClass::StorageClass SC) {
8383
case SPIRV::StorageClass::HostOnlyINTEL:
8484
return false;
8585
}
86+
llvm_unreachable("Unknown SPIRV::StorageClass enum");
8687
}
8788

8889
SPIRVGlobalRegistry::SPIRVGlobalRegistry(unsigned PointerSize)

0 commit comments

Comments
 (0)