Skip to content

Commit 8be0439

Browse files
committed
update tools/clang/lib/SPIRV/DeclResultIdMapper.cpp, comment assert(false && "Unsupported builtin type evaluation at compile-time"); which crashes our debug runtime
1 parent 3e2dd30 commit 8be0439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clang/lib/SPIRV/DeclResultIdMapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4930,7 +4930,7 @@ bool DeclResultIdMapper::tryToCreateConstantVar(const ValueDecl *decl) {
49304930
spvBuilder.getConstantFloat(astContext.DoubleTy, val->getFloat());
49314931
break;
49324932
default:
4933-
assert(false && "Unsupported builtin type evaluation at compile-time");
4933+
// assert(false && "Unsupported builtin type evaluation at compile-time");
49344934
return false;
49354935
}
49364936
constVal->setRValue(true);

0 commit comments

Comments
 (0)