mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
[gcov] Move formatBranchInfo into an anonymous namespace.
NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd8e1b1dfe
commit
cab2a096fd
@ -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…
x
Reference in New Issue
Block a user