Skip to content

Commit 2b6edff

Browse files
committed
Make the class local
1 parent 133bd01 commit 2b6edff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,8 @@ static unsigned getMaxBitmapSize(const CounterMappingContext &Ctx,
583583
return MaxBitmapID + (SizeInBits / CHAR_BIT);
584584
}
585585

586+
namespace {
587+
586588
/// Collect Decisions, Branchs, and Expansions and associate them.
587589
class MCDCDecisionRecorder {
588590

@@ -750,6 +752,8 @@ class MCDCDecisionRecorder {
750752
}
751753
};
752754

755+
} // namespace
756+
753757
Error CoverageMapping::loadFunctionRecord(
754758
const CoverageMappingRecord &Record,
755759
IndexedInstrProfReader &ProfileReader) {

0 commit comments

Comments
 (0)