aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-doc/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeng Liu <winner245@hotmail.com>2025-04-18 20:57:05 -0400
committerGitHub <noreply@github.com>2025-04-18 20:57:05 -0400
commit9e3982d9ae8173171cd7247ee505e9c02079c6bf (patch)
treea875cc7656efbcf42145e8e8e48968167d726572 /clang-tools-extra/clang-doc/BitcodeReader.cpp
parent5c4e6c61136f5edbaf779bdcf1bda0ed88c7c3ff (diff)
downloadllvm-9e3982d9ae8173171cd7247ee505e9c02079c6bf.zip
llvm-9e3982d9ae8173171cd7247ee505e9c02079c6bf.tar.gz
llvm-9e3982d9ae8173171cd7247ee505e9c02079c6bf.tar.bz2
[libc++] Replace __libcpp_{ctz, clz} with __builtin_{ctzg, clzg} (#133920)
`__libcpp_{ctz, clz}` were previously used as fallbacks for `__builtin_{ctzg, clzg}` to ensure compatibility with older compilers (Clang 18 and earlier), as `__builtin_{ctzg, clzg}` became available in Clang 19. Now that support for Clang 18 has been officially dropped in #130142, we can now safely replace all instances of `__libcpp_{ctz, clz}` with `__count{l,r}_zero` (which internally call `__builtin_{ctzg, clzg}` and eliminate the fallback logic. Closes #131179.
Diffstat (limited to 'clang-tools-extra/clang-doc/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions