[all-commits] [llvm/llvm-project] 2e4c72: [RFC][Docs] Clarify brace omission for single-line...

Shilei Tian via All-commits all-commits at lists.llvm.org
Tue May 5 19:47:39 PDT 2026


  Branch: refs/heads/users/shiltian/single-line-brace-rule
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e4c72eeefc77edbc4e7f1b953e37253bb6af349
      https://github.com/llvm/llvm-project/commit/2e4c72eeefc77edbc4e7f1b953e37253bb6af349
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M llvm/docs/CodingStandards.rst

  Log Message:
  -----------
  [RFC][Docs] Clarify brace omission for single-line bodies

Update the Coding Standards brace guidance to emphasize that braces should be
omitted only for simple bodies that do not wrap across multiple physical lines.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list