[all-commits] [llvm/llvm-project] af9f3c: [Coroutine] Warn deprecated 'std::experimental::co...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed Nov 17 17:43:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af9f3c6d86b4afc93fb0a29ee430fc42f593800f
      https://github.com/llvm/llvm-project/commit/af9f3c6d86b4afc93fb0a29ee430fc42f593800f
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaCoroutine.cpp
    M clang/test/SemaCXX/co_await-range-for-exp-namespace.cpp
    M clang/test/SemaCXX/coreturn-eh-exp-namespace.cpp
    M clang/test/SemaCXX/coreturn-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-final-suspend-noexcept-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-mixed2-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-rvo-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-seh-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-traits-undefined-template-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine-unhandled_exception-warning-exp-namespace.cpp
    M clang/test/SemaCXX/coroutine_handle-address-return-type-exp-namespace.cpp
    M clang/test/SemaCXX/coroutines-exp-namespace.cpp
    M libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.pass.cpp
    M libcxx/test/std/experimental/language.support/support.coroutines/lit.local.cfg

  Log Message:
  -----------
  [Coroutine] Warn deprecated 'std::experimental::coro' uses

Since we've decided the to not support std::experimental::coroutine*, we
should tell the user they need to update.

Reviewed By: Quuxplusone, ldionne, Mordante

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




More information about the All-commits mailing list