diff options
author | Christopher Di Bella <cjdb@google.com> | 2021-03-21 18:48:24 +0000 |
---|---|---|
committer | Christopher Di Bella <cjdb@google.com> | 2021-04-06 01:25:15 +0000 |
commit | c25c22d5f9b7e56c0c350982b5ec41095c5a0a05 (patch) | |
tree | 23ac1fc0ed3f3832cfd35cef1f0039100c58adf7 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | dc8d864e3a91938e11e8aea38bb43c9fdef361bc (diff) | |
download | llvm-c25c22d5f9b7e56c0c350982b5ec41095c5a0a05.zip llvm-c25c22d5f9b7e56c0c350982b5ec41095c5a0a05.tar.gz llvm-c25c22d5f9b7e56c0c350982b5ec41095c5a0a05.tar.bz2 |
[libcxx] moves `std::invoke` into `__functional_base`
Including `<concepts>` in other standard library headers (such as
`<iterator>`) creates circular dependencies due to `<functional>`.
Since `<concepts>` only needs `std::invoke` from `<functional>`, the
easiest, fastest, and cleanest way to eliminate the circular dep is to
move `std::invoke` into `__functional_base`.
This has the added advantage of `<concepts>` not transitively importing
`<functional>`.
Differential Revision: https://reviews.llvm.org/D99041
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions