diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 05b065b8a1a..117a0b94239 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -39,12 +39,11 @@ class DerivedType : public Type, public AbstractTypeUser { // AbstractTypeUsers - Implement a list of the users that need to be notified // if I am a type, and I get resolved into a more concrete type. // - ///// FIXME: kill mutable nonsense when Type's are not const + ///// FIXME: kill mutable nonsense when Types are not const mutable std::vector AbstractTypeUsers; protected: - DerivedType(PrimitiveID id) : Type("", id), RefCount(0) { - } + DerivedType(PrimitiveID id) : Type("", id), RefCount(0) {} ~DerivedType() { assert(AbstractTypeUsers.empty()); }