mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[wpiutil] Remove bit.hpp; replace with C++23 bit (#8792)
#7492 didn't catch all the uses and #7973 patched out byteswap in Sleipnir for some reason (despite having upgraded compilers already)?
This commit is contained in:
@@ -60,11 +60,13 @@ def run_global_replacements(wpiutil_llvm_files: list[Path]):
|
||||
content = content.replace('#include "wpi/util/DataTypes.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/llvm-config.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/abi-breaking.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/bit.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/config.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/Signals.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/Process.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/Path.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/Program.h"\n', "")
|
||||
content = content.replace('#include "wpi/util/SwapByteOrder.h"\n', "")
|
||||
|
||||
# Fix include guards
|
||||
content = content.replace("LLVM_ADT_", "WPIUTIL_WPI_")
|
||||
|
||||
Reference in New Issue
Block a user