mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Make LLVMContext's pImpl member const.
llvm-svn: 83393
This commit is contained in:
parent
a803c712dd
commit
560feba5c2
@ -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