aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2024-08-04 10:34:04 +0200
committerGitHub <noreply@github.com>2024-08-04 10:34:04 +0200
commiteccc6487c1fc5925ea2e595b5b07a31976c3232e (patch)
treeeefe237eef763e2190aa1d0b5d60daca95aef2cd /llvm/lib/Support/VirtualFileSystem.cpp
parent0dd8c0ddd0bef1753f7bcbd6709a8e99af507ed5 (diff)
downloadllvm-eccc6487c1fc5925ea2e595b5b07a31976c3232e.zip
llvm-eccc6487c1fc5925ea2e595b5b07a31976c3232e.tar.gz
llvm-eccc6487c1fc5925ea2e595b5b07a31976c3232e.tar.bz2
[Clang] Remove __is_nullptr (#99038)
`is_null_pointer` can be implemented very efficiently as `__is_same(__remove_cv(T), decltype(nullptr))`. Since GCC supports both of these builtins as well, libc++ has no interest in using `__is_nullptr` instead. Furthermore, I could find only a single use in the wild (https://sourcegraph.com/search?q=context:global+__is_nullptr%28+-file:clang&patternType=keyword&sm=0). Because of these reasons I don't think it's worth keeping this builtin around.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions