diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-04 20:25:11 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-04 20:25:11 +0000 |
commit | d03eecd063a18ce0c505a87afcb04db26c035bc9 (patch) | |
tree | 0fcc71e3d8dd3c289f4529427dcfc91331f03dfa /include | |
parent | f9c1ccf28020add0b3e1d633684debf3e3dc294f (diff) | |
download | external_llvm-d03eecd063a18ce0c505a87afcb04db26c035bc9.zip external_llvm-d03eecd063a18ce0c505a87afcb04db26c035bc9.tar.gz external_llvm-d03eecd063a18ce0c505a87afcb04db26c035bc9.tar.bz2 |
Privatize the last bit of Constant-creation state.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/LLVMContext.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 05f0ddb..f5be3bb 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -52,21 +52,9 @@ class VectorType; /// infrastructure, including the type and constant uniquing tables. /// LLVMContext itself provides no locking guarantees, so you should be careful /// to have one context per thread. -class LLVMContext { +struct LLVMContext { LLVMContextImpl* pImpl; - friend class ConstantInt; - friend class ConstantFP; - friend class ConstantStruct; - friend class ConstantArray; - friend class ConstantVector; - friend class ConstantAggregateZero; - friend class MDNode; - friend class MDString; - friend class ConstantPointerNull; - friend class UndefValue; - friend class ConstantExpr; -public: LLVMContext(); ~LLVMContext(); }; |