[all-commits] [llvm/llvm-project] d6790a: [NFC] ProfileSummary: const most of the fields.

Mircea Trofin via All-commits all-commits at lists.llvm.org
Fri Oct 29 08:36:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6790a0a3ce769fc6f37b2577c074d30cb92dbc2
      https://github.com/llvm/llvm-project/commit/d6790a0a3ce769fc6f37b2577c074d30cb92dbc2
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M llvm/include/llvm/IR/ProfileSummary.h
    M llvm/include/llvm/ProfileData/ProfileCommon.h
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    M llvm/lib/ProfileData/ProfileSummaryBuilder.cpp
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp
    M llvm/unittests/ProfileData/SampleProfTest.cpp

  Log Message:
  -----------
  [NFC] ProfileSummary: const most of the fields.

This simplifies readability / maintainability.




More information about the All-commits mailing list