Changes

Summary

  1. [libc][NFC] Use STL case for bit (details)
  2. Revert "[libc][NFC] Use STL case for bit" (details)
  3. Fix reverse-iteration buildbot. (details)
  4. [reland][libc][NFC] Use STL case for bit (details)
  5. [clang-tidy] Fix for bugprone-sizeof-expression PR57167 (details)
  6. [libc][NFC] Use STL case for bitset and simplify implementation (details)
Commit 7ba14b8611df1172d92d60bf19870e98a92e7a3a by gchatelet
[libc][NFC] Use STL case for bit
The file was modifiedlibc/src/__support/FPUtil/x86_64/LongDoubleBits.h
The file was modifiedlibc/src/stdio/printf_core/parser.cpp
The file was modifiedutils/bazel/llvm-project-overlay/libc/BUILD.bazel
The file was removedlibc/src/__support/CPP/Bit.h
The file was modifiedlibc/src/__support/FPUtil/generic/FMA.h
The file was modifiedlibc/src/string/memory_utils/elements_x86.h
The file was modifiedlibc/test/src/math/SqrtTest.h
The file was modifiedlibc/test/src/math/NextAfterTest.h
The file was modifiedlibc/src/__support/FPUtil/generic/sqrt.h
The file was modifiedlibc/test/src/stdio/printf_core/parser_test.cpp
The file was modifiedlibc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
The file was modifiedlibc/src/__support/CPP/CMakeLists.txt
The file was modifiedlibc/src/__support/FPUtil/Hypot.h
The file was modifiedlibc/src/__support/FPUtil/FPBits.h
The file was modifiedlibc/test/src/string/memory_utils/backend_test.cpp
The file was addedlibc/src/__support/CPP/bit.h
The file was modifiedlibc/src/math/generic/math_utils.h
The file was modifiedlibc/src/__support/FPUtil/ManipulationFunctions.h
Commit 175560fc21bc79c90c2cde8c0f0d8d8930220f61 by gchatelet
Revert "[libc][NFC] Use STL case for bit"

This reverts commit 7ba14b8611df1172d92d60bf19870e98a92e7a3a.
The file was modifiedlibc/test/src/string/memory_utils/backend_test.cpp
The file was modifiedlibc/src/__support/FPUtil/generic/FMA.h
The file was modifiedutils/bazel/llvm-project-overlay/libc/BUILD.bazel
The file was modifiedlibc/test/src/math/NextAfterTest.h
The file was modifiedlibc/src/__support/FPUtil/ManipulationFunctions.h
The file was modifiedlibc/test/src/stdio/printf_core/parser_test.cpp
The file was modifiedlibc/src/string/memory_utils/elements_x86.h
The file was modifiedlibc/test/src/math/SqrtTest.h
The file was modifiedlibc/src/__support/FPUtil/generic/sqrt.h
The file was modifiedlibc/src/__support/CPP/CMakeLists.txt
The file was modifiedlibc/src/__support/FPUtil/Hypot.h
The file was modifiedlibc/src/__support/FPUtil/FPBits.h
The file was modifiedlibc/src/stdio/printf_core/parser.cpp
The file was modifiedlibc/src/__support/FPUtil/x86_64/LongDoubleBits.h
The file was addedlibc/src/__support/CPP/Bit.h
The file was removedlibc/src/__support/CPP/bit.h
The file was modifiedlibc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
The file was modifiedlibc/src/math/generic/math_utils.h
Commit 8f826fe7233b97c58365252f78cb0f08288e9e06 by efriedma
Fix reverse-iteration buildbot.

A couple of instances of iterating over maps snuck in while the bot was
down; fix them to use maps with deterministic iteration.
The file was modifiedllvm/lib/ProfileData/RawMemProfReader.cpp
The file was modifiedllvm/test/tools/llvm-profdata/memprof-inline.test
The file was modifiedllvm/lib/CodeGen/GlobalMerge.cpp
Commit d769cd8cdc11bb2439bf8d0cb3f079c9e8912fa8 by gchatelet
[reland][libc][NFC] Use STL case for bit
The file was modifiedlibc/src/__support/FPUtil/FPBits.h
The file was modifiedlibc/src/string/memory_utils/elements_x86.h
The file was modifiedlibc/test/src/string/memory_utils/backend_test.cpp
The file was modifiedlibc/src/stdio/printf_core/parser.cpp
The file was removedlibc/src/__support/CPP/Bit.h
The file was modifiedlibc/src/__support/FPUtil/generic/FMA.h
The file was modifiedlibc/src/__support/FPUtil/x86_64/LongDoubleBits.h
The file was modifiedlibc/src/__support/FPUtil/x86_64/NextAfterLongDouble.h
The file was modifiedlibc/src/__support/CPP/CMakeLists.txt
The file was modifiedlibc/test/src/math/NextAfterTest.h
The file was modifiedlibc/test/src/stdio/printf_core/parser_test.cpp
The file was modifiedlibc/src/__support/FPUtil/generic/sqrt.h
The file was modifiedlibc/src/__support/FPUtil/Hypot.h
The file was addedlibc/src/__support/CPP/bit.h
The file was modifiedlibc/src/math/generic/math_utils.h
The file was modifiedlibc/src/__support/FPUtil/ManipulationFunctions.h
The file was modifiedlibc/test/src/math/SqrtTest.h
The file was modifiedutils/bazel/llvm-project-overlay/libc/BUILD.bazel
Commit 9e1a4ce0b55db1388351550497e5ce43b588f71c by Chris.Hamilton
[clang-tidy] Fix for bugprone-sizeof-expression PR57167

This addresses a change in behavior of the bugprone-sizeof-expression
checker after upstream commit 15f3cd6bfc6, which cleaned up
ElaboratedType sugaring in the AST.  This restores (mostly) the
beahvior of the checker prior to that commit, which may or may not have
been consistent with the intent of the checker, but at least gave a
tolerable level of what users would consider false positives.

Bug: https://github.com/llvm/llvm-project/issues/57167

Reviewed By: mizvekov, aaron.ballman

Differential Revision: https://reviews.llvm.org/D131926

Change-Id: Ibe5aad77ad00977134aa7fa67efbbd6bd725fd79
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression-2.c
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
Commit e2d79758436b690d3cc5c3bf79cba2c2b280ce80 by gchatelet
[libc][NFC] Use STL case for bitset and simplify implementation
The file was modifiedlibc/src/string/string_utils.h
The file was modifiedutils/bazel/llvm-project-overlay/libc/BUILD.bazel
The file was addedlibc/src/__support/CPP/bitset.h
The file was modifiedlibc/src/string/strspn.cpp
The file was removedlibc/src/__support/CPP/Bitset.h
The file was modifiedlibc/src/__support/CPP/CMakeLists.txt
The file was modifiedlibc/test/src/__support/CPP/bitset_test.cpp