mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 04:55:50 +00:00
Move private member functions to the end of the class declaration.
llvm-svn: 113385
This commit is contained in:
parent
a83eb43cb8
commit
700d71937c
@ -29,20 +29,6 @@ template <typename T> class SmallVectorImpl;
|
||||
/// LLVMContext itself provides no locking guarantees, so you should be careful
|
||||
/// to have one context per thread.
|
||||
class LLVMContext {
|
||||
// DO NOT IMPLEMENT
|
||||
LLVMContext(LLVMContext&);
|
||||
void operator=(LLVMContext&);
|
||||
|
||||
/// addModule - Register a module as being instantiated in this context. If
|
||||
/// the context is deleted, the module will be deleted as well.
|
||||
void addModule(Module*);
|
||||
|
||||
/// removeModule - Unregister a module from this context.
|
||||
void removeModule(Module*);
|
||||
|
||||
// Module needs access to the add/removeModule methods.
|
||||
friend class Module;
|
||||
|
||||
public:
|
||||
LLVMContextImpl *const pImpl;
|
||||
LLVMContext();
|
||||
@ -88,6 +74,21 @@ public:
|
||||
void emitError(unsigned LocCookie, StringRef ErrorStr);
|
||||
void emitError(const Instruction *I, StringRef ErrorStr);
|
||||
void emitError(StringRef ErrorStr);
|
||||
|
||||
private:
|
||||
// DO NOT IMPLEMENT
|
||||
LLVMContext(LLVMContext&);
|
||||
void operator=(LLVMContext&);
|
||||
|
||||
/// addModule - Register a module as being instantiated in this context. If
|
||||
/// the context is deleted, the module will be deleted as well.
|
||||
void addModule(Module*);
|
||||
|
||||
/// removeModule - Unregister a module from this context.
|
||||
void removeModule(Module*);
|
||||
|
||||
// Module needs access to the add/removeModule methods.
|
||||
friend class Module;
|
||||
};
|
||||
|
||||
/// getGlobalContext - Returns a global context. This is for LLVM clients that
|
||||
|
Loading…
Reference in New Issue
Block a user