MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / toNullableType

Function toNullableType

src/DataTypes/Native.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37llvm::Type * toNullableType(llvm::IRBuilderBase & builder, llvm::Type * type)
38{
39 auto * is_null_type = builder.getInt1Ty();
40 return llvm::StructType::get(type, is_null_type);
41}
42
43bool canBeNativeType(const IDataType & type)
44{

Callers 4

toNativeTypeFunction · 0.85
compileFunctionFunction · 0.85
compileSortDescriptionFunction · 0.85

Calls 1

getFunction · 0.50

Tested by

no test coverage detected