[PATCH] D82594: Clarify a bit the guideline on omitting braces, including more examples (NFC)

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 13:39:15 PDT 2020


mehdi_amini created this revision.
mehdi_amini added reviewers: rriddle, erichkeane.
Herald added subscribers: llvm-commits, stephenneuendorffer.
Herald added a project: LLVM.

Like most readability rules, it isn't absolute and there is a matter of taste
to it. I think more recent part of the project may be more consistent in the
current application of the guideline. I suspect sources like
mlir/lib/Dialect/StandardOps/IR/Ops.cpp may be examples of this at the moment.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82594

Files:
  llvm/docs/CodingStandards.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82594.273495.patch
Type: text/x-patch
Size: 5357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200625/62a9491a/attachment.bin>


More information about the llvm-commits mailing list