[all-commits] [llvm/llvm-project] acaa6e: [NFC] Uniquify 'const' in TargetTransformInfoImpl.h

llvmbot via All-commits all-commits at lists.llvm.org
Wed Dec 23 05:32:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: acaa6e4260cb5b2aa88f465eafea320d5f3f249c
      https://github.com/llvm/llvm-project/commit/acaa6e4260cb5b2aa88f465eafea320d5f3f249c
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2020-12-23 (Wed, 23 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

  Log Message:
  -----------
  [NFC] Uniquify 'const' in TargetTransformInfoImpl.h

Some member functions of class TargetTransformInfoImplBase in
TargetTransformInfoImpl.h are marked const while others are not. Yet all
of the should be marked const since they are just providing default TTI
values. This patch fixes the inconsistency.

Authored-by: Jinzheng Tu <b1f6c1c4 at gmail.com>

Reviewed By: simoll

Differential revision: https://reviews.llvm.org/D93573




More information about the All-commits mailing list