You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clang thread crashes while loading C++ headers including std::optional in a little bit complex structure.
Steps to reproduce
Here is a minimum reproducible project. The include graph consists of A.h -> C.hB.h -> C.h and A and B contain use of std::optional. This happens only with macOS's libc++ but doesn't with libstdc++. (Not tested with libc++ on Linux)
Description
Clang thread crashes while loading C++ headers including
std::optional
in a little bit complex structure.Steps to reproduce
Here is a minimum reproducible project. The include graph consists of
A.h -> C.h
B.h -> C.h
and A and B contain use ofstd::optional
. This happens only with macOS's libc++ but doesn't with libstdc++. (Not tested with libc++ on Linux)check.zip
Expected behavior
Compilation succeeds without crash
Environment
The text was updated successfully, but these errors were encountered: