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,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 <gtest/gtest.h>
|
||||
|
||||
#include "wpi/halsim/ds_socket/DSCommPacket.hpp"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
class DSCommPacketTest : public ::testing::Test {
|
||||
public:
|
||||
DSCommPacketTest() = default;
|
||||
|
||||
@@ -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/hal/Main.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
@@ -26,7 +28,6 @@
|
||||
#include "wpi/glass/other/Plot.hpp"
|
||||
#include "wpi/gui/wpigui.hpp"
|
||||
#include "wpi/hal/Extensions.h"
|
||||
#include "wpi/hal/Main.h"
|
||||
#include "wpi/halsim/gui/HALSimGui.hpp"
|
||||
#include "wpi/halsim/gui/HALSimGuiExt.hpp"
|
||||
#include "wpi/halsim/gui/SimDeviceGui.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/hal/Main.h"
|
||||
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Main.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
extern "C" int HALSIM_InitExtension(void);
|
||||
|
||||
@@ -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/hal/Main.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Main.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
extern "C" int HALSIM_InitExtension(void);
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
#include "wpi/halsim/ws_server/HALSimHttpConnection.hpp"
|
||||
|
||||
#include <uv.h>
|
||||
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#include <uv.h>
|
||||
|
||||
#include "wpi/net/MimeTypes.hpp"
|
||||
#include "wpi/net/UrlParser.hpp"
|
||||
#include "wpi/net/raw_uv_ostream.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/hal/Main.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
@@ -11,7 +13,6 @@
|
||||
#include "WebServerClientTest.hpp"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Main.h"
|
||||
#include "wpi/hal/simulation/DIOData.h"
|
||||
#include "wpi/halsim/ws_server/HALSimWSServer.hpp"
|
||||
#include "wpi/net/uv/Loop.hpp"
|
||||
|
||||
Reference in New Issue
Block a user