[all-commits] [llvm/llvm-project] 491a5c: [MachO] Fix formatting. NFC

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Mon Aug 22 13:01:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 491a5c9570e2a6caf0f077f333631d69762d3742
      https://github.com/llvm/llvm-project/commit/491a5c9570e2a6caf0f077f333631d69762d3742
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

  Changed paths:
    M lld/MachO/InputFiles.cpp

  Log Message:
  -----------
  [MachO] Fix formatting. NFC

The style guide says that all arms of an if-else should have braces if
any arm does [1].

[1] https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements




More information about the All-commits mailing list