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:
Tyler Veness
2025-11-11 18:05:12 -08:00
committed by GitHub
parent a0f4727179
commit 1705b2d61c
321 changed files with 677 additions and 628 deletions

View File

@@ -13,7 +13,7 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h> // NOLINT(build/include_order)
#include <windows.h>
#endif

View File

@@ -4,8 +4,7 @@
#pragma once
#include <stddef.h> // NOLINT
#include <stddef.h>
#include <stdint.h>
#include "wpi/util/string.h"

View File

@@ -2,14 +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/datalog/FileLogger.hpp"
#include <string>
#include <string_view>
#include <vector>
#include <gtest/gtest.h>
#include "wpi/datalog/FileLogger.hpp"
TEST(FileLoggerTest, BufferSingleLine) {
std::vector<std::string> buf;
auto func = wpi::log::FileLogger::Buffer(