[all-commits] [llvm/llvm-project] 8612b4: [NFC] ProfileSummary: const a bunch of members and...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Oct 18 08:55:39 PDT 2021


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

  Changed paths:
    M llvm/include/llvm/IR/ProfileSummary.h
    M llvm/lib/IR/ProfileSummary.cpp

  Log Message:
  -----------
  [NFC] ProfileSummary: const a bunch of members and fields.

It helps readability and maintainability (don't need to chase down
writes to a field I see is const, for example)




More information about the All-commits mailing list