forked from OSchip/llvm-project
[gcov] Move formatBranchInfo into an anonymous namespace.
NFC. llvm-svn: 232949
This commit is contained in:
parent
e71037123b
commit
b1d8c46f0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue