[all-commits] [llvm/llvm-project] 389c8d: [NFC] Make non-modifying members const.

mordante via All-commits all-commits at lists.llvm.org
Sun Oct 18 09:51:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 389c8d5b20a2ddea84d3b24edd533d5283f96582
      https://github.com/llvm/llvm-project/commit/389c8d5b20a2ddea84d3b24edd533d5283f96582
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2020-10-18 (Sun, 18 Oct 2020)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/CodeGenPGO.cpp
    M clang/lib/CodeGen/CodeGenPGO.h

  Log Message:
  -----------
  [NFC] Make non-modifying members const.

Implementing the likelihood attributes for the iteration statements adds
a new helper function. This function can't be const qualified since
these non-modifying members aren't const qualified.




More information about the All-commits mailing list