[all-commits] [llvm/llvm-project] fe0ec2: [Coverage] Const-ize `MCDCRecordProcessor` stuff (...
NAKAMURA Takumi via All-commits
all-commits at lists.llvm.org
Mon Jan 22 14:28:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe0ec2c91cfbf2aad2a61e402f21b771db685b90
https://github.com/llvm/llvm-project/commit/fe0ec2c91cfbf2aad2a61e402f21b771db685b90
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-01-23 (Tue, 23 Jan 2024)
Changed paths:
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
Log Message:
-----------
[Coverage] Const-ize `MCDCRecordProcessor` stuff (#78918)
The life of `MCDCRecordProcessor`'s instance is short. It may accept
`const` objects to process.
On the other hand, the life of `MCDCBranches` is shorter than `Record`.
It may be rewritten with reference, rather than copying.
More information about the All-commits
mailing list