[PATCH] D77837: [llvm][NFC] Style fixes in Inliner.cpp

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 15:48:42 PDT 2020


mtrofin created this revision.
mtrofin added reviewers: davidxl, dblaikie.
Herald added subscribers: llvm-commits, hiraditya, eraman.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77837

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77837.256431.patch
Type: text/x-patch
Size: 9192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200409/9b5dbb88/attachment.bin>


More information about the llvm-commits mailing list