MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / getPointerType

Function getPointerType

src/compiler/reflection/IntrospectStructPass.cpp:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163llvm::Type* getPointerType(llvm::Type* PointeeT, int AddressSpace) {
164#if LLVM_VERSION_MAJOR < 16
165 return llvm::PointerType::get(PointeeT, AddressSpace);
166#else
167 return llvm::PointerType::get(PointeeT->getContext(), AddressSpace);
168#endif
169}
170
171} // anonymous namespace
172

Callers 1

runMethod · 0.70

Calls 1

getFunction · 0.85

Tested by

no test coverage detected