[llvm] r234672 - DebugInfo: Remove dead DIRef friends

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Apr 10 17:45:24 PDT 2015


Author: dexonsmith
Date: Fri Apr 10 19:45:24 2015
New Revision: 234672

URL: http://llvm.org/viewvc/llvm-project?rev=234672&view=rev
Log:
DebugInfo: Remove dead DIRef friends

Modified:
    llvm/trunk/include/llvm/IR/DebugInfo.h

Modified: llvm/trunk/include/llvm/IR/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=234672&r1=234671&r2=234672&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfo.h Fri Apr 10 19:45:24 2015
@@ -236,10 +236,6 @@ public:
 ///
 /// Abstracts over direct and identifier-based metadata references.
 template <typename T> 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.





More information about the llvm-commits mailing list