[llvm] 0b62218 - Anonymize `MCDCRecordProcessor`
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 00:19:14 PST 2024
Author: NAKAMURA Takumi
Date: 2024-02-06T17:18:19+09:00
New Revision: 0b62218110f0945c6957e549f9fc1a2f2f87a604
URL: https://github.com/llvm/llvm-project/commit/0b62218110f0945c6957e549f9fc1a2f2f87a604
DIFF: https://github.com/llvm/llvm-project/commit/0b62218110f0945c6957e549f9fc1a2f2f87a604.diff
LOG: Anonymize `MCDCRecordProcessor`
Added:
Modified:
llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp b/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
index f2b4b5ce0b23f..6b189c3146328 100644
--- a/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+++ b/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
@@ -223,6 +223,8 @@ Expected<int64_t> CounterMappingContext::evaluate(const Counter &C) const {
return LastPoppedValue;
}
+namespace {
+
class MCDCRecordProcessor {
/// A bitmap representing the executed test vectors for a boolean expression.
/// Each index of the bitmap corresponds to a possible test vector. An index
@@ -398,6 +400,8 @@ class MCDCRecordProcessor {
}
};
+} // namespace
+
Expected<MCDCRecord> CounterMappingContext::evaluateMCDCRegion(
const CounterMappingRegion &Region,
ArrayRef<const CounterMappingRegion *> Branches) {
More information about the llvm-commits
mailing list