class ConstantFP;
class MDString;
class MDNode;
-struct LLVMContext;
+class LLVMContext;
class Type;
class Value;
static bool isPod() { return false; }
};
-struct LLVMContextImpl {
+class LLVMContextImpl {
+public:
sys::SmartRWMutex<true> ConstantsLock;
typedef DenseMap<DenseMapAPIntKeyInfo::KeyTy, ConstantInt*,
ValueMap<char, Type, ConstantAggregateZero> AggZeroConstants;
- ValueMap<std::vector<Value*>, Type, MDNode, true /*largekey*/> MDNodes;
+ typedef ValueMap<std::vector<Value*>, Type, MDNode, true /*largekey*/>
+ MDNodeMapTy;
+
+ MDNodeMapTy MDNodes;
typedef ValueMap<std::vector<Constant*>, ArrayType,
ConstantArray, true /*largekey*/> ArrayConstantsTy;