Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -4,6 +4,8 @@
#include "hal/CANAPI.h"
#include <memory>
#include <wpi/DenseMap.h>
#include "CANAPIInternal.h"

View File

@@ -4,10 +4,11 @@
#include "hal/CTREPCM.h"
#include <string>
#include "HALInitializer.h"
#include "HALInternal.h"
#include "PortsInternal.h"
#include "hal/CANAPI.h"
#include "hal/Errors.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/CTREPCMDataInternal.h"

View File

@@ -4,6 +4,8 @@
#include "hal/Encoder.h"
#include <limits>
#include "CounterInternal.h"
#include "HALInitializer.h"
#include "HALInternal.h"

View File

@@ -5,7 +5,9 @@
#include "hal/Extensions.h"
#include <cstdio>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <wpi/SmallVector.h>

View File

@@ -6,6 +6,7 @@
#include <cstdio>
#include <cstring>
#include <utility>
#include <vector>
#include <wpi/mutex.h>
@@ -25,7 +26,6 @@ NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution,
#include "ErrorsInternal.h"
#include "HALInitializer.h"
#include "MockHooksInternal.h"
#include "hal/DriverStation.h"
#include "hal/Errors.h"
#include "hal/Extensions.h"
#include "hal/handles/HandlesInternal.h"

View File

@@ -8,7 +8,9 @@
#include <chrono>
#include <cstdio>
#include <cstring>
#include <memory>
#include <string>
#include <utility>
#include <wpi/SmallVector.h>
#include <wpi/StringExtras.h>

View File

@@ -4,10 +4,11 @@
#include "hal/REVPH.h"
#include <string>
#include "HALInitializer.h"
#include "HALInternal.h"
#include "PortsInternal.h"
#include "hal/CANAPI.h"
#include "hal/Errors.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/REVPHDataInternal.h"

View File

@@ -5,7 +5,6 @@
#include <cstring>
#include "DriverStationDataInternal.h"
#include "hal/DriverStation.h"
using namespace hal;

View File

@@ -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 <limits>
#include "../PortsInternal.h"
#include "EncoderDataInternal.h"

View File

@@ -2,7 +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 "../PortsInternal.h"
#include <string>
#include "RoboRioDataInternal.h"
using namespace hal;

View File

@@ -5,6 +5,8 @@
#include "hal/simulation/SimDeviceData.h" // NOLINT(build/include_order)
#include <algorithm>
#include <memory>
#include <utility>
#include <wpi/StringExtras.h>