[all-commits] [llvm/llvm-project] 94e0fd: [Clang] No longer advertise support for coroutines...

Corentin Jabot via All-commits all-commits at lists.llvm.org
Mon Apr 27 03:30:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94e0fd0988bb091960116a7aecc72f5e74161069
      https://github.com/llvm/llvm-project/commit/94e0fd0988bb091960116a7aecc72f5e74161069
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures-co_await-assertion-failure.cpp
    M clang/test/Analysis/more-dtors-cfg-output.cpp
    M clang/test/CodeGenCXX/ubsan-coroutines.cpp
    M clang/test/CodeGenCoroutines/coro-params.cpp
    M clang/test/CodeGenCoroutines/coro-promise-dtor.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/test/Modules/coro-await-elidable.cppm
    M clang/test/PCH/coroutines.cpp
    M clang/test/Parser/cxx20-coroutines.cpp
    M clang/test/SemaCXX/addr-label-in-coroutines.cpp
    M clang/test/SemaCXX/co_await-ast.cpp
    M clang/test/SemaCXX/coroutine-alloc-2.cpp
    M clang/test/SemaCXX/coroutine-alloc-3.cpp
    M clang/test/SemaCXX/coroutine-alloc-4.cpp
    M clang/test/SemaCXX/coroutine-allocs.cpp
    M clang/test/SemaCXX/coroutine-builtins.cpp
    M clang/test/SemaCXX/coroutine-dealloc.cpp
    M clang/test/SemaCXX/coroutine-final-suspend-noexcept.cpp
    M clang/test/SemaCXX/coroutine-no-valid-dealloc.cpp
    M clang/test/SemaCXX/coroutine-noreturn.cpp
    M clang/test/SemaCXX/coroutine-promise-ctor.cpp
    M clang/test/SemaCXX/coroutine-rvo.cpp
    M clang/test/SemaCXX/coroutine-traits-undefined-template.cpp
    M clang/test/SemaCXX/coroutine-unevaluate.cpp
    M clang/test/SemaCXX/coroutine-vla.cpp
    A clang/test/SemaCXX/coroutine-win32x86.cpp
    M clang/test/SemaCXX/coroutine_handle-address-return-type.cpp
    M clang/test/SemaCXX/coroutines.cpp
    M clang/test/SemaCXX/cxx20-delayed-typo-correction-crashes.cpp
    M clang/test/SemaCXX/cxx2b-deducing-this-coro.cpp
    M clang/test/SemaCXX/thread-safety-coro.cpp
    M clang/test/SemaCXX/warn-throw-out-noexcept-coro.cpp
    M clang/test/SemaCXX/warn-unused-parameters-coroutine.cpp
    M clang/www/cxx_status.html

  Log Message:
  -----------
  [Clang] No longer advertise support for coroutines on x86 windows. (#193456)

There are a large number of long standing issues with coroutines on
x86_32 windows as discussed here

https://github.com/llvm/llvm-project/issues/59382

- #59382
- #58556
- #58543
- #56989
- #193161
- #136481

As such this patches
  - No longer defines `__cpp_impl_coroutine` on that platform
  - Warn when using coroutines on that platform

The reason to not plainly error is that it would break too much valid
valid code, ie there are people who probably use coroutines sucessfully.

And we also want to keep testing on that platform, up until the point we
were to pull support completely.

Hopefully this is all temporary and someone will feel compelled to
improve the situation enough that we can unceremoniously revert this
patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list