OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LLVMGlobalContext.cpp File Reference
#include "LLVMGlobalContext.h"
#include <llvm/Support/ManagedStatic.h>
+ Include dependency graph for LLVMGlobalContext.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{LLVMGlobalContext.cpp}
 

Functions

llvm::LLVMContext & getGlobalLLVMContext ()
 

Variables

llvm::ManagedStatic
< llvm::LLVMContext > 
anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context
 

Function Documentation

llvm::LLVMContext& getGlobalLLVMContext ( )

Definition at line 26 of file LLVMGlobalContext.cpp.

References anonymous_namespace{LLVMGlobalContext.cpp}::g_global_context.

26  {
27  return *g_global_context;
28 }
llvm::ManagedStatic< llvm::LLVMContext > g_global_context