diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2024-02-06 17:15:38 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2024-02-06 17:18:19 +0900 |
commit | 0b62218110f0945c6957e549f9fc1a2f2f87a604 (patch) | |
tree | 5c06ab7c9b21395b8cc5a355e64850d3c9c4a97b /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 38476b063f164995b85e47472e3c2e0a9c5f9075 (diff) | |
download | llvm-0b62218110f0945c6957e549f9fc1a2f2f87a604.zip llvm-0b62218110f0945c6957e549f9fc1a2f2f87a604.tar.gz llvm-0b62218110f0945c6957e549f9fc1a2f2f87a604.tar.bz2 |
Anonymize `MCDCRecordProcessor`
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
-rw-r--r-- | llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp b/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp index f2b4b5c..6b189c3 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 @@ public: } }; +} // namespace + Expected<MCDCRecord> CounterMappingContext::evaluateMCDCRegion( const CounterMappingRegion &Region, ArrayRef<const CounterMappingRegion *> Branches) { |