mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 20:44:51 +00:00
Make LLVMContext's pImpl member const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3cc3f3c84
commit
82a47e9118
@ -19,6 +19,7 @@ namespace llvm {
|
||||
|
||||
class LLVMContextImpl;
|
||||
class MetadataContext;
|
||||
|
||||
/// This is an important class for using LLVM in a threaded context. It
|
||||
/// (opaquely) owns and manages the core "global" data of LLVM's core
|
||||
/// infrastructure, including the type and constant uniquing tables.
|
||||
@ -28,8 +29,9 @@ class LLVMContext {
|
||||
// DO NOT IMPLEMENT
|
||||
LLVMContext(LLVMContext&);
|
||||
void operator=(LLVMContext&);
|
||||
|
||||
public:
|
||||
LLVMContextImpl* pImpl;
|
||||
LLVMContextImpl* const pImpl;
|
||||
MetadataContext &getMetadata();
|
||||
bool RemoveDeadMetadata();
|
||||
LLVMContext();
|
||||
|
Loading…
Reference in New Issue
Block a user