Skip to content

Commit 5c7a34b

Browse files
committed
NFC: Remove unused function createStructPointerType().
1 parent e92a0ff commit 5c7a34b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/IRGen/IRGenModule.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ static llvm::StructType *createStructType(IRGenModule &IGM,
8585
name, packed);
8686
}
8787

88-
/// A helper for creating pointer-to-struct types.
89-
static llvm::PointerType *createStructPointerType(IRGenModule &IGM,
90-
StringRef name,
91-
std::initializer_list<llvm::Type*> types) {
92-
return createStructType(IGM, name, types)->getPointerTo(DefaultAS);
93-
}
94-
9588
static clang::CodeGenerator *createClangCodeGenerator(ASTContext &Context,
9689
llvm::LLVMContext &LLVMContext,
9790
const IRGenOptions &Opts,

0 commit comments

Comments
 (0)