[all-commits] [llvm/llvm-project] aba40f: [coroutines] Do not check coroutine wrappers for s...

Utkarsh Saxena via All-commits all-commits at lists.llvm.org
Wed Jan 3 03:41:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aba40fb34a27f1d36b4b541bf04d414dca7d1c4c
      https://github.com/llvm/llvm-project/commit/aba40fb34a27f1d36b4b541bf04d414dca7d1c4c
  Author: Utkarsh Saxena <usx at google.com>
  Date:   2024-01-03 (Wed, 03 Jan 2024)

  Changed paths:
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  [coroutines] Do not check coroutine wrappers for skipped function bodies (#76729)

Without function bodies, we cannot tell whether a function is a
coroutine or not.
The analysis of coroutine wrappers is not useful when this information
is not available.

We therefore now skip this analysis for skipped function bodies.




More information about the All-commits mailing list