Skip to content

Commit 32ae71b

Browse files
committed
pr-feedback: unreachable
1 parent 8d8797d commit 32ae71b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/clang/lib/SPIRV/DeclResultIdMapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ DeclResultIdMapper::createResourceDescriptorHeap(const VarDecl *var) {
12021202
}
12031203
HeapVar = SamplerHeapVar;
12041204
} else
1205-
assert(0 && "Unsupported heap type");
1205+
llvm_unreachable("Unsupported heap type. FIXME");
12061206

12071207
// Decorate with BuiltIn
12081208
astDecls[var] = createDeclSpirvInfo(HeapVar);

0 commit comments

Comments
 (0)