[all-commits] [llvm/llvm-project] c8d2ae: [clang] NFC: Remove else-after-return pattern from...

Kirill Bobyrev via All-commits all-commits at lists.llvm.org
Mon Jan 25 02:14:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8d2ae52c15b4c886e70587cbc3f61aaa7bd6692
      https://github.com/llvm/llvm-project/commit/c8d2ae52c15b4c886e70587cbc3f61aaa7bd6692
  Author: Kirill Bobyrev <kbobyrev at google.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/DeclBase.cpp
    M clang/lib/AST/Expr.cpp

  Log Message:
  -----------
  [clang] NFC: Remove else-after-return pattern from some files

Follow-up on D95336. A bunch of these cases were found manually, the
rest made sense to be included to eliminate llvm-else-after-return
Clang-Tidy warnings.




More information about the All-commits mailing list