mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01: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:
@@ -4,10 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <stddef.h> //NOLINT
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/util/Synchronization.h"
|
||||
|
||||
@@ -9,9 +9,7 @@
|
||||
#ifdef __cplusplus
|
||||
#include <cstddef>
|
||||
#else
|
||||
|
||||
#include <stddef.h> // NOLINT(build/include_order)
|
||||
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#include "wpi/hal/Types.h"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <vector>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#pragma comment(lib, "Winmm.lib")
|
||||
#pragma comment(lib, "ntdll.lib")
|
||||
extern "C" NTSYSAPI NTSTATUS NTAPI NtSetTimerResolution(
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// 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/simulation/SimDeviceData.h" // NOLINT(build/include_order)
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
Reference in New Issue
Block a user