diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 65c10347911..beb5c5769f1 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/include/llvm/IR/DebugInfo.h @@ -236,10 +236,6 @@ public: /// /// Abstracts over direct and identifier-based metadata references. template class DIRef { - friend DIScopeRef DIScope::getContext() const; - friend DIScopeRef DIScope::getRef() const; - friend class DIType; - /// \brief Val can be either a MDNode or a MDString. /// /// In the latter, MDString specifies the type identifier.