MCPcopy Create free account
hub / github.com/apache/kudu / GetType

Method GetType

src/kudu/codegen/module_builder.cc:193–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193Type* ModuleBuilder::GetType(const string& name) {
194 CHECK_EQ(state_, kBuilding);
195 // Technically clang is not obligated to name every
196 // class as "class.kudu::ClassName" but so long as there
197 // are no naming conflicts in the LLVM context it appears
198 // to do so (naming conflicts are avoided by having 1 context
199 // per module)
200 return CHECK_NOTNULL(module_->getTypeByName(name));
201}
202
203Value* ModuleBuilder::GetPointerValue(void* ptr) const {
204 CHECK_EQ(state_, kBuilding);

Callers 14

MakeProjectionFunction · 0.80
NameOfTypeOfJsonValueMethod · 0.80
FindTraceEntryMethod · 0.80
ExtractBoolMethod · 0.80
ExtractInt32Method · 0.80
ExtractUint32Method · 0.80
ExtractInt64Method · 0.80
ExtractUint64Method · 0.80
ExtractDoubleMethod · 0.80
ExtractFloatMethod · 0.80
ExtractStringMethod · 0.80

Calls

no outgoing calls

Tested by 2

FindTraceEntryMethod · 0.64