STLForwardCompat.h defines several utilities and type traits to mimic that of
the ones in the C++17 standard library. Now that LLVM is built with the C++17
standards mode, remove these equivalents in favor of the ones from the
standard library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The llvm/include/llvm/ADT/STLForwardCompat.h and llvm/unittests/ADT/STLForwardCompatTest.cpp removal can be in a separate patch.
Comment Actions
Revert removal of these utilities and type traits from STLForwardCompat.h and their corresponding unit tests. The removal of these will be done in a separate patch.
Comment Actions
Sure. I just split them out of this patch and I'll do the removal in a follow-up patch.
Comment Actions
LGTM, thank you!
I have some pending changes which would add C++20 "compat" types, but removing it until those land sounds fine to me.
Comment Actions
Fix unqualified use of in_place so the delegating constructor in Optional calls the one taking the std::in_place_t tag.