However, the clang+libstdc++ combination does not work. The pure clang chain (clang+libc++) works fine, so one could argue this is a "user bug", not a clang bug. More details are covered at https://codereview.chromium.org/1558333002.
Considering that clang+libstdc++ is not a uncommont combination, maybe it's better to revise the code to make that combination work.
One workaround is to add the following to `globalDefinitions.hpp`:
```
#include <cstddef>
using nullptr_t = std::nullptr_t;
```
- relates to
-
JDK-8263721 Unify oop casting
- Resolved