aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorPaul Bowen-Huggett <paulhuggett@mac.com>2024-12-20 02:29:18 +0100
committerGitHub <noreply@github.com>2024-12-20 08:29:18 +0700
commitee7ca0dddafb609090ad1789570c099d95c0afb6 (patch)
tree7c855e7f8f96172a2cbad82097a08e06c6573eb9 /llvm/tools/llvm-cov/CodeCoverage.cpp
parenteb1b9fca9ca66d051179d8d2f35edb4624118b26 (diff)
downloadllvm-ee7ca0dddafb609090ad1789570c099d95c0afb6.zip
llvm-ee7ca0dddafb609090ad1789570c099d95c0afb6.tar.gz
llvm-ee7ca0dddafb609090ad1789570c099d95c0afb6.tar.bz2
Make CombinerHelper methods const (#119529)
There are a number of backends (specifically AArch64, AMDGPU, Mips, and RISCV) which contain a “TODO: make CombinerHelper methods const” comment. This PR does just that and makes all of the CombinerHelper methods const, removes the TODO comments and makes the associated instances const. This change makes some sense because the CombinerHelper class simply modifies the state of _other_ objects to which it holds pointers or references. Note that AMDGPU contains an identical comment for an instance of AMDGPUCombinerHelper (a subclass of CombinerHelper). I deliberately haven’t modified the methods of that class in order to limit the scope of the change. I’m happy to do so either now or as a follow-up.
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions