[all-commits] [llvm/llvm-project] 081843: Remove the outdated feature macro '__cpp_coroutines'

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Mar 16 22:54:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0818433a5515df24c5d2cd95087e375ba8596cb0
      https://github.com/llvm/llvm-project/commit/0818433a5515df24c5d2cd95087e375ba8596cb0
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/test/Lexer/cxx-features.cpp
    M clang/test/Modules/Inputs/DependsOnModule.framework/Headers/coroutines.h
    M clang/test/Modules/Inputs/DependsOnModule.framework/Headers/not_coroutines.h

  Log Message:
  -----------
  Remove the outdated feature macro '__cpp_coroutines'

The feature macro '__cpp_coroutines' is for coroutines TS. And the
coroutines TS is deprecated. So we should remove the feature macro too.

BTW, the corresponding feature macro for standard c++ coroutines is
'__cpp_impl_coroutine'.




More information about the All-commits mailing list