Re:Clang Format Tanks Performance
by twic on Wednesday November 20, 2019 @09:47AM
(#21584323)
It would actually be interesting to see if this phenomenon happens with clang, which has its own implementation of the standard library. And perhaps with musl libc or some such.
[ Parent
| on HN ]
Clang has its own libc++ implementation, but I think clang still uses the system libc and associated headers?
Yes, i think so too. So a different <algorithm>, but the same <ctype.h>.
The crucial __NO_CTYPE define is in <bits/os_defines.h>, which is part of the GCC paraphernalia. I don't know if clang's stdlib would also have to end up defining it.