[all-commits] [llvm/llvm-project] 96685f: [llvm] Use early exits and get rid of if-return-el...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Wed Oct 21 05:19:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 96685faf6dd9b044394af6f7a9d8b10fadb327b5
      https://github.com/llvm/llvm-project/commit/96685faf6dd9b044394af6f7a9d8b10fadb327b5
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M llvm/lib/Support/Path.cpp

  Log Message:
  -----------
  [llvm] Use early exits and get rid of if-return-else-return pattern; NFC

https://llvm.org/docs/CodingStandards.html#use-early-exits-and-continue-to-simplify-code

Reviewed By: kadircet

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




More information about the All-commits mailing list