diff --git a/llvm/include/llvm/ADT/ValueMap.h b/llvm/include/llvm/ADT/ValueMap.h index 6d394fd24040..b043c389fd3f 100644 --- a/llvm/include/llvm/ADT/ValueMap.h +++ b/llvm/include/llvm/ADT/ValueMap.h @@ -199,7 +199,7 @@ private: template class ValueMapCallbackVH : public CallbackVH { friend class ValueMap; - friend class DenseMapInfo; + friend struct DenseMapInfo; typedef ValueMap ValueMapT; typedef typename llvm::remove_pointer::type KeySansPointerT;