[all-commits] [llvm/llvm-project] 618e63: Introduce CounterExpressionBuilder::replace(C, Map)

NAKAMURA Takumi via All-commits all-commits at lists.llvm.org
Thu Oct 17 05:05:08 PDT 2024


  Branch: refs/heads/users/chapuni/cov/single/replace
  Home:   https://github.com/llvm/llvm-project
  Commit: 618e63946923a460b2684738e636c77b1706322a
      https://github.com/llvm/llvm-project/commit/618e63946923a460b2684738e636c77b1706322a
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

  Log Message:
  -----------
  Introduce CounterExpressionBuilder::replace(C, Map)

This return a counter for each term in the expression replaced by
ReplaceMap.

At the moment, this doesn't update the Map, so Map is marked as `const`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list