mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Fix errors from new cpplint.py (#7105)
This commit is contained in:
@@ -57,6 +57,9 @@
|
||||
|
||||
#include "wpi/Base64.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/SmallVector.h"
|
||||
#include "wpi/raw_ostream.h"
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/Endian.h"
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
#endif
|
||||
|
||||
#include <random>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "wpi/DataLogReader.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "wpi/DataLog.h"
|
||||
#include "wpi/Endian.h"
|
||||
#include "wpi/MathExtras.h"
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
|
||||
#include "wpi/DataLogWriter.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/raw_ostream.h"
|
||||
|
||||
using namespace wpi::log;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "wpi/MessagePack.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
using namespace mpack;
|
||||
|
||||
mpack_error_t mpack::mpack_expect_str(mpack_reader_t* reader, std::string* out,
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "wpi/SafeThread.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
using namespace wpi;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
|
||||
#include "wpi/StackTrace.h"
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include "wpi/future.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace wpi {
|
||||
namespace detail {
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <jni.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
#include "wpi/protobuf/Protobuf.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <google/protobuf/descriptor.h>
|
||||
#include <google/protobuf/descriptor.pb.h>
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
#include "wpi/protobuf/ProtobufMessageDatabase.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <google/protobuf/descriptor.h>
|
||||
|
||||
#include "wpi/ProtoHelper.h"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "wpi/sendable/SendableRegistry.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "wpi/sha1.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "wpi/SmallVector.h"
|
||||
#include "wpi/StringExtras.h"
|
||||
#include "wpi/raw_istream.h"
|
||||
|
||||
@@ -2,6 +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 "string"
|
||||
#include "wpi/string.h"
|
||||
|
||||
#include <wpi/MemAlloc.h>
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#include "wpi/struct/DynamicStruct.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
#include "wpi/struct/SchemaParser.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/StringExtras.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <atomic>
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
|
||||
#ifdef __FRC_ROBORIO__
|
||||
#include <stdint.h>
|
||||
@@ -21,7 +22,8 @@ using namespace nRoboRIO_FPGANamespace;
|
||||
} // namespace fpga
|
||||
#include <memory>
|
||||
|
||||
#include "dlfcn.h"
|
||||
#include "dlfcn.h" // NOLINT(build/include_subdir)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user