HomePhabricator

[llvm][NFC] Style fixes in Inliner.cpp

Authored by mtrofin on Apr 9 2020, 3:26 PM.

Description

[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

Details

Committed
mtrofinApr 10 2020, 8:04 AM
Differential Revision
D77837: [llvm][NFC] Style fixes in Inliner.cpp
Parents
rG6d7c25bbf9c1: [NFC][UpdateTestChecks] Fix typos in comments
Branches
Unknown
Tags
Unknown