[PATCH] D89895: [NFC][Partial Inline]: Clean up code

Ettore Tiotto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 09:40:08 PDT 2020


etiotto created this revision.
etiotto added reviewers: DTharun, Whitney, bmahjour, fhahn, kazu, graham-yiu-huawei, mcrosier.
etiotto added a project: LLVM.
Herald added subscribers: llvm-commits, hiraditya.
etiotto requested review of this revision.

This is a NFC patch. In the patch I:

- make member function const where possible,
- use LLVM_DEBUG to print debug tracers rather than a custom option,
- pass by reference to avoid null checking
- code formatting


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89895

Files:
  llvm/lib/Transforms/IPO/PartialInlining.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89895.299724.patch
Type: text/x-patch
Size: 24949 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201021/375599df/attachment.bin>


More information about the llvm-commits mailing list