[all-commits] [llvm/llvm-project] 822734: [libc++] Add missing includes to optional
Krasimir Georgiev via All-commits
all-commits at lists.llvm.org
Thu Mar 9 05:08:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8227349f7e4f1a6ceb4cceb464c8f4420ff1dd0a
https://github.com/llvm/llvm-project/commit/8227349f7e4f1a6ceb4cceb464c8f4420ff1dd0a
Author: Krasimir Georgiev <krasimir at google.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M libcxx/include/optional
Log Message:
-----------
[libc++] Add missing includes to optional
After commit 0a4aa8a122aa097499c498b639a75b5e9a73e9f0 we see failures
like:
optional:722:7: error: missing '#include <__type_traits/conjunction.h>';
'_And' must be declared before it is used
and:
optional:683:46: error: missing '#include
<__type_traits/disjunction.h>'; '_Or' must be declared before it is used
using __check_constructible_from_opt = _Or<
Adding these here fixes that.
I'm not familiar with the libcxx codebase, will ask the author to take a
look too.
More information about the All-commits
mailing list