This is an archive of the discontinued LLVM Phabricator instance.

Refactor functions with multiple exit points.
Needs ReviewPublic

Authored by • chatur01 on Nov 28 2014, 5:29 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Event Timeline

• chatur01 retitled this revision from to Refactor functions with multiple exit points..
• chatur01 updated this object.
• chatur01 edited the test plan for this revision. (Show Details)
t.p.northover added a subscriber: Unknown Object (MLST).Nov 28 2014, 6:45 AM
t.p.northover added a subscriber: t.p.northover.

Adding llvm-commits.

Hi Charlie,

Doesn't the LLVM style encourage multiple exit points? http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code

Is there some particular issue with how they're used in these functions?

Cheers.

Tim.

Hi Tim,

Doesn't the LLVM style encourage multiple exit points? http://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code

It does, I mistakenly published this patch for review. Please ignore.

Sorry!
Charlie.