[all-commits] [llvm/llvm-project] c08ea0: Add to the Coding Standard our that single-line bo...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Jun 11 12:46:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c08ea0771682de45964dc10759d6a57ce65c482d
      https://github.com/llvm/llvm-project/commit/c08ea0771682de45964dc10759d6a57ce65c482d
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M llvm/docs/CodingStandards.rst

  Log Message:
  -----------
  Add to the Coding Standard our that single-line bodies omit braces

This is a rule that seems to have been enforced for the better part of
the decade, so we should document it for new contributors.

Differential Revision: https://reviews.llvm.org/D80947




More information about the All-commits mailing list