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 | 1584a295363ff298d082e184eefea8b783d6fc48 (patch) | |
| tree | b025512809e0c9dc76fee04da2c30bde3292b4ff /llvm/include | |
| parent | 16dc0cd8a23ae0e44a6963a77e5c2ead873ff83c (diff) | |
| download | bcm5719-llvm-1584a295363ff298d082e184eefea8b783d6fc48.tar.gz bcm5719-llvm-1584a295363ff298d082e184eefea8b783d6fc48.zip | |
Privatize the last bit of Constant-creation state.
llvm-svn: 78097
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/LLVMContext.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/llvm/include/llvm/LLVMContext.h b/llvm/include/llvm/LLVMContext.h index 05f0ddb489b..f5be3bbd8b1 100644 --- a/llvm/include/llvm/LLVMContext.h +++ b/llvm/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(); }; |

