From 680018ff8965610b3f1c976b0be1dfd45116b218 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 20 Sep 2011 18:48:56 +0000 Subject: [PATCH] If simple ownership works then friendship is not required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140169 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Instrumentation/GCOVProfiling.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp index acc36f0787c..ccf7e1109cd 100644 --- a/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/lib/Transforms/Instrumentation/GCOVProfiling.cpp @@ -177,14 +177,13 @@ namespace { for (int i = 0, e = Lines.size(); i != e; ++i) write(Lines[i]); } - private: - friend class GCOVBlock; GCOVLines(StringRef F, raw_ostream *os) : Filename(F) { this->os = os; } + private: StringRef Filename; SmallVector Lines; };