summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-09-20 18:48:56 +0000
committerDevang Patel <dpatel@apple.com>2011-09-20 18:48:56 +0000
commit680018ff8965610b3f1c976b0be1dfd45116b218 (patch)
tree7825bc83a582275b77d18bef092f4c824092f77b /lib/Transforms/Instrumentation
parent51bae90289c1ae6766a67295c10f6c4339a8cca0 (diff)
downloadllvm-680018ff8965610b3f1c976b0be1dfd45116b218.tar.gz
llvm-680018ff8965610b3f1c976b0be1dfd45116b218.tar.bz2
llvm-680018ff8965610b3f1c976b0be1dfd45116b218.tar.xz
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
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/GCOVProfiling.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index acc36f0787..ccf7e1109c 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<uint32_t, 32> Lines;
};