llvm::getGlobalContextForCAPI

Get the deprecated global context for use by the C API.

Synopsis

Declared in <llvm/IR/LLVMContext.h>

LLVMContextRef
getGlobalContextForCAPI();

Return Value

The global LLVM context as an opaque C API reference.