diff options
| author | Devang Patel <dpatel@apple.com> | 2011-09-20 18:48:56 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-09-20 18:48:56 +0000 |
| commit | 7d06f5cdd483055330a40c689c0ee21ade2b11d1 (patch) | |
| tree | ad814ab8c751d2ee778a11c7e0725a273c037aca /llvm | |
| parent | 1bfe55a378b502f07303788841fe49558b6056c3 (diff) | |
| download | bcm5719-llvm-7d06f5cdd483055330a40c689c0ee21ade2b11d1.tar.gz bcm5719-llvm-7d06f5cdd483055330a40c689c0ee21ade2b11d1.zip | |
If simple ownership works then friendship is not required.
llvm-svn: 140169
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp b/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp index acc36f0787c..ccf7e1109cd 100644 --- a/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp +++ b/llvm/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; }; |

