mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Upgrade wpiformat and use clang-format's include sorting (#8350)
This PR also uses the newly added -default-branch flag to generate the list of changed files with respect to the correct branch (2027).
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
// 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/commands2/CommandPtr.hpp"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/system/Errors.hpp"
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
// 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/commands2/ConditionalCommand.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/ConditionalCommand.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/DeferredCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/DeferredCommand.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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 "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class FunctionalCommandTest : public CommandTestBase {};
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/InstantCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class InstantCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
// 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 "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/NotifierCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/simulation/SimHooks.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/button/POVButton.hpp"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
#include "wpi/commands2/RunCommand.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
#include "wpi/commands2/button/POVButton.hpp"
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/driverstation/Joystick.hpp"
|
||||
#include "wpi/simulation/JoystickSim.hpp"
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/ParallelCommandGroup.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/ParallelCommandGroup.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,6 +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/commands2/ParallelDeadlineGroup.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
@@ -9,7 +11,6 @@
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/ParallelDeadlineGroup.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/ParallelRaceGroup.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/ParallelRaceGroup.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
// 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/commands2/PrintCommand.hpp"
|
||||
|
||||
#include <regex>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/PrintCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class PrintCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/ProxyCommand.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/CommandPtr.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/ProxyCommand.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
// 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/commands2/RepeatCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/FunctionalCommand.hpp"
|
||||
#include "wpi/commands2/RepeatCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class RepeatCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/RunCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/RunCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class RunCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
// 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/commands2/ScheduleCommand.hpp"
|
||||
|
||||
#include <regex>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/ScheduleCommand.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,6 +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/commands2/SelectCommand.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
@@ -9,7 +11,6 @@
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/SelectCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class SelectCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/SequentialCommandGroup.hpp"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "CompositionTestBase.hpp"
|
||||
#include "wpi/commands2/InstantCommand.hpp"
|
||||
#include "wpi/commands2/SequentialCommandGroup.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/StartEndCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/StartEndCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class StartEndCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/WaitCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/WaitCommand.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
#include "wpi/simulation/SimHooks.hpp"
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// 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/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
#include "CommandTestBase.hpp"
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
class WaitUntilCommandTest : public CommandTestBase {};
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/button/NetworkButton.hpp"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "../CommandTestBase.hpp"
|
||||
#include "wpi/commands2/CommandScheduler.hpp"
|
||||
#include "wpi/commands2/RunCommand.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
#include "wpi/commands2/button/NetworkButton.hpp"
|
||||
#include "wpi/nt/NetworkTableInstance.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
// 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 "../CommandTestBase.hpp"
|
||||
#include "wpi/commands2/button/RobotModeTriggers.hpp"
|
||||
|
||||
#include "../CommandTestBase.hpp"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include "wpi/driverstation/DriverStation.hpp"
|
||||
#include "wpi/simulation/DriverStationSim.hpp"
|
||||
|
||||
@@ -2,6 +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/commands2/button/Trigger.hpp"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
@@ -12,7 +14,6 @@
|
||||
#include "wpi/commands2/Commands.hpp"
|
||||
#include "wpi/commands2/RunCommand.hpp"
|
||||
#include "wpi/commands2/WaitUntilCommand.hpp"
|
||||
#include "wpi/commands2/button/Trigger.hpp"
|
||||
#include "wpi/simulation/SimHooks.hpp"
|
||||
|
||||
using namespace wpi::cmd;
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
// 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/commands2/sysid/SysIdRoutine.hpp"
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/commands2/Subsystem.hpp"
|
||||
#include "wpi/commands2/sysid/SysIdRoutine.hpp"
|
||||
#include "wpi/simulation/SimHooks.hpp"
|
||||
#include "wpi/system/Timer.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
|
||||
Reference in New Issue
Block a user