[all-commits] [llvm/llvm-project] f62335: [llvm][NFC] Style fixes in Inliner.cpp

Mircea Trofin via All-commits all-commits at lists.llvm.org
Fri Apr 10 08:05:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f62335b5347c7ab66e921048c24559870643ad91
      https://github.com/llvm/llvm-project/commit/f62335b5347c7ab66e921048c24559870643ad91
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Inliner.cpp

  Log Message:
  -----------
  [llvm][NFC] Style fixes in Inliner.cpp

Summary:
Function names: camel case, lower case first letter.
Variable names: start with upper letter. For iterators that were 'i',
renamed with a descriptive name, as 'I' is 'Instruction&'.

Lambda captures simplification.

Opportunistic boolean return simplification.

Reviewers: davidxl, dblaikie

Subscribers: eraman, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list