SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 19:57:55 -05:00
committed by Peter Johnson
parent c48b722dac
commit 1e7604f81c
1218 changed files with 2709 additions and 3267 deletions

View File

@@ -2,9 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/ControlData.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
static_assert(sizeof(mrc::ControlFlags) == sizeof(uint32_t));

View File

@@ -5,9 +5,8 @@
#include <string>
#include <utility>
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/ErrorInfo.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
std::optional<mrc::ErrorInfo> wpi::Protobuf<mrc::ErrorInfo>::Unpack(
InputStream& Stream) {

View File

@@ -5,9 +5,8 @@
#include <string>
#include <utility>
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/JoystickDescriptor.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
std::optional<mrc::JoystickDescriptor>
wpi::Protobuf<mrc::JoystickDescriptor>::Unpack(InputStream& Stream) {

View File

@@ -2,9 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/JoystickRumbleData.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
std::optional<mrc::JoystickRumbleData>
wpi::Protobuf<mrc::JoystickRumbleData>::Unpack(InputStream& Stream) {

View File

@@ -5,9 +5,8 @@
#include <string>
#include <utility>
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/MatchInfo.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
std::optional<mrc::MatchInfo> wpi::Protobuf<mrc::MatchInfo>::Unpack(
InputStream& Stream) {

View File

@@ -6,9 +6,8 @@
#include <utility>
#include <vector>
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
#include "wpi/hal/proto/OpMode.h"
#include "wpi/util/protobuf/ProtobufCallbacks.hpp"
std::optional<mrc::OpMode> wpi::Protobuf<mrc::OpMode>::Unpack(
InputStream& Stream) {