diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-23 13:59:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-23 13:59:13 +0000 |
commit | b1d8c46f0e5be586f27a5a9cd7e563fb280539c6 (patch) | |
tree | 97d1012bd95e772d0a95b6c0bec86899b7a46b16 /llvm/lib | |
parent | e71037123b266a4d81a3f568d773b58e7fd91285 (diff) | |
download | bcm5719-llvm-b1d8c46f0e5be586f27a5a9cd7e563fb280539c6.tar.gz bcm5719-llvm-b1d8c46f0e5be586f27a5a9cd7e563fb280539c6.zip |
[gcov] Move formatBranchInfo into an anonymous namespace.
NFC.
llvm-svn: 232949
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/IR/GCOV.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/GCOV.cpp b/llvm/lib/IR/GCOV.cpp index b0a2bae4e06..b76017c51c5 100644 --- a/llvm/lib/IR/GCOV.cpp +++ b/llvm/lib/IR/GCOV.cpp @@ -445,6 +445,7 @@ static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) { return Res; } +namespace { struct formatBranchInfo { formatBranchInfo(const GCOVOptions &Options, uint64_t Count, uint64_t Total) : Options(Options), Count(Count), Total(Total) {} @@ -468,7 +469,6 @@ static raw_ostream &operator<<(raw_ostream &OS, const formatBranchInfo &FBI) { return OS; } -namespace { class LineConsumer { std::unique_ptr<MemoryBuffer> Buffer; StringRef Remaining; |