mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
c48b722dac
commit
1e7604f81c
@@ -9,12 +9,12 @@
|
||||
#include <fmt/chrono.h>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
|
||||
#include "wpi/datalog/DataLogReader.hpp"
|
||||
#include "wpi/util/DenseMap.hpp"
|
||||
#include "wpi/util/MemoryBuffer.hpp"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLogReader.hpp"
|
||||
|
||||
int main(int argc, const char** argv) {
|
||||
if (argc != 2) {
|
||||
wpi::print(stderr, "Usage: printlog <file>\n");
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLogBackgroundWriter.hpp"
|
||||
#include "wpi/util/print.hpp"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
using std::chrono::duration_cast;
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
#include <bit>
|
||||
#include <utility>
|
||||
|
||||
#include "wpi/util/Endian.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLog.hpp"
|
||||
#include "wpi/util/Endian.hpp"
|
||||
|
||||
using namespace wpi::log;
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
namespace wpi::log {
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
#include "org_wpilib_datalog_DataLogJNI.h"
|
||||
#include "wpi/datalog/DataLog.hpp"
|
||||
#include "wpi/datalog/DataLogBackgroundWriter.hpp"
|
||||
#include "wpi/datalog/DataLogWriter.hpp"
|
||||
#include "wpi/datalog/FileLogger.hpp"
|
||||
#include "wpi/util/jni_util.hpp"
|
||||
|
||||
using namespace wpi::java;
|
||||
using namespace wpi::log;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <vector>
|
||||
#include <version>
|
||||
|
||||
#include "wpi/datalog/DataLog_c.h"
|
||||
#include "wpi/util/DenseMap.hpp"
|
||||
#include "wpi/util/SmallVector.hpp"
|
||||
#include "wpi/util/StringMap.hpp"
|
||||
@@ -28,8 +29,6 @@
|
||||
#include "wpi/util/struct/Struct.hpp"
|
||||
#include "wpi/util/timestamp.h"
|
||||
|
||||
#include "wpi/datalog/DataLog_c.h"
|
||||
|
||||
namespace wpi {
|
||||
class Logger;
|
||||
} // namespace wpi
|
||||
|
||||
@@ -12,11 +12,10 @@
|
||||
#include <string_view>
|
||||
#include <thread>
|
||||
|
||||
#include "wpi/datalog/DataLog.hpp"
|
||||
#include "wpi/util/condition_variable.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLog.hpp"
|
||||
|
||||
namespace wpi {
|
||||
class Logger;
|
||||
} // namespace wpi
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
#include <upb/mem/arena.h>
|
||||
#include <upb/reflection/def.h>
|
||||
|
||||
#include "wpi/datalog/DataLogReader.hpp"
|
||||
#include "wpi/util/DenseMap.hpp"
|
||||
#include "wpi/util/Signal.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/struct/DynamicStruct.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLogReader.hpp"
|
||||
|
||||
namespace wpi::log {
|
||||
|
||||
class DataLogReaderRange {
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
#include <vector>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include "wpi/util/Logger.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLogWriter.hpp"
|
||||
#include "wpi/util/Logger.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
namespace {
|
||||
struct ThingA {
|
||||
|
||||
Reference in New Issue
Block a user