[libcxx-commits] [libcxx] [libc++][Android] Always redirect <stdatomic.h> to <atomic> (PR #143036)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 22 09:33:54 PDT 2026
philnik777 wrote:
@AaronBallman I think your numbers are a bit inflated. I scrolled a bit through the linked search and noticed that there are a lot of cases of either `_Atomic` simply being in a comment or in a string. I've tried to reduce the false-positives a bit (and hopefully didn't introduce any false-negatives) and the numbers look a lot less daunting (even with still quite a few false-positives): https://sourcegraph.com/search?q=context:global+file:.*%5C.cpp+-file:.*test.*+%5Cn%28%5B%5E/%5Cn%5D%5B%5E/%5Cn%5D%29*%5B%5E%5Cn%5D%3F%5Cb_Atomic%5Cb%5B%5E%22%5D+count:1000000+-file:SemaType.cpp+-file:TypePrinter.cpp&patternType=regexp&case=yes&sm=0
I don't know how much code is actually affected of course, but I hope you think it's at least viable to try, as at least so far this approach seems like the least bad option.
https://github.com/llvm/llvm-project/pull/143036
More information about the libcxx-commits
mailing list