Currently LLVM has moved to C++ 17 (https://discourse.llvm.org/t/c-17-in-llvm-code-base/ and [LLVM] Update C++ standard to 17 · llvm/llvm-project@b135650 · GitHub). I think it’s time for us to follow as well. We did the similar thing for C++ 14 about two years ago. Per the RFC for LLVM, it will require:
- GCC to 7.1
- Clang to 5.0
I removed the requirement for macOS and Windows because our
libomptarger doesn’t support them anyway. If there are no concerns I will submit the patch to Phabricator next week.