[all-commits] [llvm/llvm-project] cfc4de: [NFC] Code cleanups in InlineCost.cpp.

Jacob Hegna via All-commits all-commits at lists.llvm.org
Wed Jul 21 17:03:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfc4def85df51aa70c7168711de3591ec0169d60
      https://github.com/llvm/llvm-project/commit/cfc4def85df51aa70c7168711de3591ec0169d60
  Author: Jacob Hegna <jacobhegna at gmail.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M llvm/lib/Analysis/InlineCost.cpp

  Log Message:
  -----------
  [NFC] Code cleanups in InlineCost.cpp.

 - annotate const functions with "const"
 - replace C-style casts with static_cast

Differential Revision: https://reviews.llvm.org/D105362




More information about the All-commits mailing list