[all-commits] [llvm/llvm-project] 616c80: [C++20] [Coroutines] Handle function-try-block in ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Apr 6 00:12:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 616c8067071316a9e17524b14b3ab0e04a511e71
      https://github.com/llvm/llvm-project/commit/616c8067071316a9e17524b14b3ab0e04a511e71
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-04-06 (Thu, 06 Apr 2023)

  Changed paths:
    M clang/include/clang/AST/StmtCXX.h
    M clang/lib/CodeGen/CGCoroutine.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  [C++20] [Coroutines] Handle function-try-block in SemaCoroutine

In https://reviews.llvm.org/D146758, we handled the rare case that the
coroutine has a function-try-block. But it will be better to handle it
in the Sema part. This patch handles the preprocess.




More information about the All-commits mailing list