[all-commits] [llvm/llvm-project] 4f8668: [clang] co_return cleanup

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Wed Jun 8 08:09:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f8668d9f73a0dc234ebf9938bcf24061991e9ae
      https://github.com/llvm/llvm-project/commit/4f8668d9f73a0dc234ebf9938bcf24061991e9ae
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M clang/include/clang/AST/StmtCXX.h

  Log Message:
  -----------
  [clang] co_return cleanup

There's no need for the CoreturnStmt getChildren member to deal with
the presence or absence of the operand member. All users already deal
with null children.

Reviewed By: MaskRay

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




More information about the All-commits mailing list