llvm/clang/unittests/ASTMatchers
Chuanqi Xu 2fbd254aa4 [Coroutines] [Clang] Look up coroutine component in std namespace first
Summary: Now in libcxx and clang, all the coroutine components are
defined in std::experimental namespace.
And now the coroutine TS is merged into C++20. So in the working draft
like N4892, we could find the coroutine components is defined in std
namespace instead of std::experimental namespace.
And the coroutine support in clang seems to be relatively stable. So I
think it may be suitable to move the coroutine component into the
experiment namespace now.

But move the coroutine component into the std namespace may be an break
change. So I planned to split this change into two patch. One in clang
and other in libcxx.

This patch would make clang lookup coroutine_traits in std namespace
first. For the compatibility consideration, clang would lookup in
std::experimental namespace if it can't find definitions in std
namespace and emit a warning in this case. So the existing codes
wouldn't be break after update compiler.

Test Plan: check-clang, check-libcxx

Reviewed By: lxfind

Differential Revision: https://reviews.llvm.org/D108696
2021-09-03 10:22:55 +08:00
..
Dynamic [ASTMatchers] Add cxxBaseSpecifier matcher (non-top-level) 2021-04-09 00:05:36 +01:00
ASTMatchersInternalTest.cpp Remove automatic traversal from forEach matcher 2020-11-23 14:27:47 +00:00
ASTMatchersNarrowingTest.cpp [ASTMatchers] Add cxxBaseSpecifier matcher (non-top-level) 2021-04-09 00:05:36 +01:00
ASTMatchersNodeTest.cpp Reapply "Support Attr in DynTypedNode and ASTMatchers." 2021-08-06 22:30:32 +02:00
ASTMatchersTest.h Reapply "Support Attr in DynTypedNode and ASTMatchers." 2021-08-06 22:30:32 +02:00
ASTMatchersTraversalTest.cpp [Coroutines] [Clang] Look up coroutine component in std namespace first 2021-09-03 10:22:55 +08:00
CMakeLists.txt On Windows build, making the /bigobj flag global , instead of passing it per file. 2020-07-28 18:04:36 -05:00
GtestMatchersTest.cpp Add matchers for gtest's ASSERT_THAT, EXPECT_THAT, ON_CALL and EXPECT_CALL 2021-06-02 17:28:14 +00:00