1
Fork 0

Remove LLVMGetModuleContext

This was unused after the removal of `-Zprofile` in #131829.
This commit is contained in:
Zalathar 2025-02-08 14:25:14 +11:00
parent 552a959051
commit 659e20fa75

View file

@ -972,7 +972,6 @@ unsafe extern "C" {
// Create modules.
pub fn LLVMModuleCreateWithNameInContext(ModuleID: *const c_char, C: &Context) -> &Module;
pub fn LLVMGetModuleContext(M: &Module) -> &Context;
pub fn LLVMCloneModule(M: &Module) -> &Module;
/// Data layout. See Module::getDataLayout.