LegalizeAdulthood added a comment.
Herald added a subscriber: PiotrZSL.

In D133102#3774151 <https://reviews.llvm.org/D133102#3774151>, @alexfh wrote:

> For example, LLVM coding standards recommends using early exits: 
> https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code

How is the proposed replacement not an early exit?  It's an unconditional exit: 
it either returns a bool constant or it returns a variable that is a bool.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133102/new/

https://reviews.llvm.org/D133102

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to