[all-commits] [llvm/llvm-project] a06a5e: [clang-tidy] Added option to readability-else-afte...

Nathan James via All-commits all-commits at lists.llvm.org
Tue Jun 30 11:35:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a06a5ed97800b66eaf4d03eedd4d2827f53e423a
      https://github.com/llvm/llvm-project/commit/a06a5ed97800b66eaf4d03eedd4d2827f53e423a
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability-else-after-return.rst
    A clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-no-cond-var-refactor.cpp

  Log Message:
  -----------
  [clang-tidy] Added option to readability-else-after-return

Added a 'RefactorConditionVariables' option to control how the check handles condition variables

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list