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

@@ -23,9 +23,3 @@ includeGuardRoots {
wpigui/src/main/native/metal/
wpigui/src/main/native/opengl3/
}
includeOtherLibs {
^imgui
^implot
^stb
}

View File

@@ -8,7 +8,7 @@
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
#include <windows.h>
#include <shellapi.h>
#else
#include <unistd.h>

View File

@@ -8,10 +8,9 @@
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3.h>
#include <GLFW/glfw3native.h>
#include <imgui.h>
#include <imgui_impl_glfw.h>
#include <imgui_impl_dx11.h>
#include <imgui_impl_glfw.h>
#include "wpi/gui/wpigui.hpp"
#include "wpi/gui/wpigui_internal.hpp"