Merge wpiformat configs (#8365)

After replacing the remaining include guards with `#pragma once`, I was
able to merge all the wpiformat configs into one file in the repo root.
This should make the config easier to reason about and maintain in the
future.
This commit is contained in:
Tyler Veness
2025-11-11 22:00:42 -08:00
committed by GitHub
parent 23906ee2f7
commit 7a04d6a6a2
117 changed files with 182 additions and 873 deletions

View File

@@ -1,5 +1,9 @@
cHeaderFileInclude {
_c\.h$
}
cppHeaderFileInclude {
\.h$
(?<!_c)\.h$
\.hpp$
\.inc$
\.inl$
@@ -9,29 +13,95 @@ cppSrcFileInclude {
\.cpp$
}
modifiableFileExclude {
cmake/toolchains/
thirdparty/
\.patch$
gradlew
BUILD.bazel
}
generatedFileExclude {
FRCNetComm\.java$
simulation/gz_msgs/src/include/simulation/gz_msgs/msgs\.h$
fields/src/main/native/resources/
\.jinja$
apriltag/src/test/resources/
wpilibc/src/generated/
docs/theme\.css$
fields/src/main/native/resources/
generated/
glass/src/app/native/mac/glass\.icns$
glass/src/app/native/resources/
glass/src/app/native/win/glass\.ico$
hal/src/main/native/athena/ctre/
hal/src/main/native/athena/frccansae/
hal/src/main/native/athena/rev/
hal/src/main/native/athena/visa/
hal/src/main/native/include/ctre/
hal/src/main/native/include/wpi/hal/UsageReporting\.h$
hal/src/main/native/systemcore/ctre/
hal/src/main/native/systemcore/rev/
ntcore/doc/
tools/datalogtool/src/main/native/mac/datalogtool\.icns$
tools/datalogtool/src/main/native/resources/
tools/datalogtool/src/main/native/win/datalogtool\.ico$
tools/outlineviewer/src/main/native/mac/ov\.icns$
tools/outlineviewer/src/main/native/resources/
tools/outlineviewer/src/main/native/win/outlineviewer\.ico$
tools/sysid/src/main/native/mac/sysid\.icns$
tools/sysid/src/main/native/resources/
tools/sysid/src/main/native/win/sysid\.ico$
tools/wpical/src/main/native/assets/
tools/wpical/src/main/native/mac/wpical\.icns$
tools/wpical/src/main/native/resources/
tools/wpical/src/main/native/thirdparty/
tools/wpical/src/main/native/win/wpical\.ico$
wpigui/src/main/native/cpp/portable-file-dialogs\.cpp$
wpigui/src/main/native/include/wpi/gui/portable-file-dialogs\.h$
wpimath/src/main/native/include/wpi/units/base\.hpp$
wpimath/src/main/native/include/wpi/units/units\.hpp$
wpimath/src/main/native/thirdparty/
wpimath/src/test/native/cpp/UnitsTest\.cpp$
wpinet/src/main/native/cpp/http_parser\.cpp$
wpinet/src/main/native/include/wpi/net/http_parser\.hpp$
wpinet/src/main/native/linux/AvahiClient\.cpp$
wpinet/src/main/native/linux/AvahiClient\.hpp$
wpinet/src/main/native/resources/
wpinet/src/main/native/thirdparty/
wpiutil/src/main/native/cpp/fs\.cpp$
wpiutil/src/main/native/include/wpi/util/FastQueue\.hpp$
wpiutil/src/main/native/include/wpi/util/fs\.hpp$
wpiutil/src/main/native/resources/
wpiutil/src/main/native/thirdparty/
wpiutil/src/test/native/cpp/json/
wpiutil/src/test/native/cpp/llvm/
wpiutil/src/test/native/cpp/span/
apriltag/src/main/python/
apriltag/src/test/python/
datalog/src/main/python/
datalog/src/test/python/
hal/src/main/python/
hal/src/test/python/
ntcore/src/main/python/
ntcore/src/test/python/
romiVendordep/src/main/python/
romiVendordep/src/test/python/
wpilibc/src/main/python/
wpilibc/src/test/python/
wpimath/src/main/python/
wpimath/src/test/python/
wpinet/src/main/python/
wpinet/src/test/python/
wpiutil/src/main/python/
wpiutil/src/test/python/
xrpVendordep/src/main/python/
xrpVendordep/src/test/python/
}
repoRootNameOverride {
wpilib
modifiableFileExclude {
BUILD.bazel
\.patch$
datalog/examples/printlog/datalog\.py$
gradlew
ntcoreffi/src/main/native/include/DataLogManager\.h$
objcpp/
thirdparty/
}
licenseUpdateExclude {
cscore/src/main/native/cpp/default_init_allocator\.hpp$
datalog/examples/printlog
wpiutil/src/main/native/cpp/Base64\.cpp$
wpiutil/src/main/native/cpp/sha1\.cpp$
wpiutil/src/main/native/include/wpi/util/sha1\.hpp$
}

View File

@@ -1,17 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
}
cppSrcFileInclude {
\.cpp$
}
repoRootNameOverride {
cameraserver
}
includeGuardRoots {
cameraserver/src/main/native/include/
}

View File

@@ -1,17 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
}
cppSrcFileInclude {
\.cpp$
}
repoRootNameOverride {
wpilib
}
generatedFileExclude {
commandsv2/src/generated/
}

View File

@@ -1,12 +0,0 @@
modifiableFileExclude {
\.patch$
}
generatedFileExclude {
src/generated/main/java/org/wpilib/command3/button/
src/generated/main/java/org/wpilib/command3/proto/
}
repoRootNameOverride {
commandsv3
}

View File

@@ -1,35 +0,0 @@
cHeaderFileInclude {
_c\.h$
}
cppHeaderFileInclude {
(?<!_c)\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
modifiableFileExclude {
objcpp
}
licenseUpdateExclude {
src/main/native/cpp/default_init_allocator\.hpp$
}
includeGuardRoots {
cscore/src/main/native/cpp/
cscore/src/main/native/include/
cscore/src/main/native/linux/
cscore/src/main/native/osx/
cscore/src/main/native/windows/
cscore/src/main/test/native/cpp/
}
repoRootNameOverride {
cscore
}

View File

@@ -2,8 +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.
#ifndef CSCORE_CONFIGURABLESOURCEIMPL_HPP_
#define CSCORE_CONFIGURABLESOURCEIMPL_HPP_
#pragma once
#include <atomic>
#include <functional>
@@ -49,5 +48,3 @@ class ConfigurableSourceImpl : public SourceImpl {
};
} // namespace wpi::cs
#endif // CSCORE_CONFIGURABLESOURCEIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_FRAME_HPP_
#define CSCORE_FRAME_HPP_
#pragma once
#include <atomic>
#include <memory>
@@ -251,5 +250,3 @@ class Frame {
};
} // namespace wpi::cs
#endif // CSCORE_FRAME_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_HANDLE_HPP_
#define CSCORE_HANDLE_HPP_
#pragma once
#include "wpi/cs/cscore_c.h"
#include "wpi/util/Synchronization.h"
@@ -64,5 +63,3 @@ class Handle {
};
} // namespace wpi::cs
#endif // CSCORE_HANDLE_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_HTTPCAMERAIMPL_HPP_
#define CSCORE_HTTPCAMERAIMPL_HPP_
#pragma once
#include <atomic>
#include <functional>
@@ -159,5 +158,3 @@ class AxisCameraImpl : public HttpCameraImpl {
};
} // namespace wpi::cs
#endif // CSCORE_HTTPCAMERAIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_IMAGE_HPP_
#define CSCORE_IMAGE_HPP_
#pragma once
#include <string_view>
#include <vector>
@@ -130,5 +129,3 @@ class Image {
};
} // namespace wpi::cs
#endif // CSCORE_IMAGE_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_INSTANCE_HPP_
#define CSCORE_INSTANCE_HPP_
#pragma once
#include <memory>
#include <utility>
@@ -111,5 +110,3 @@ class Instance {
};
} // namespace wpi::cs
#endif // CSCORE_INSTANCE_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_JPEGUTIL_HPP_
#define CSCORE_JPEGUTIL_HPP_
#pragma once
#include <string>
#include <string_view>
@@ -26,5 +25,3 @@ bool ReadJpeg(wpi::util::raw_istream& is, std::string& buf, int* width,
int* height);
} // namespace wpi::cs
#endif // CSCORE_JPEGUTIL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_LOG_HPP_
#define CSCORE_LOG_HPP_
#pragma once
#include <string_view>
@@ -85,5 +84,3 @@ inline void NamedLog(wpi::util::Logger& logger, unsigned int level,
#define SDEBUG4(format, ...) \
SLOG(::wpi::util::WPI_LOG_DEBUG4, format __VA_OPT__(, ) __VA_ARGS__)
#endif
#endif // CSCORE_LOG_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_MJPEGSERVERIMPL_HPP_
#define CSCORE_MJPEGSERVERIMPL_HPP_
#pragma once
#include <atomic>
#include <memory>
@@ -63,5 +62,3 @@ class MjpegServerImpl : public SinkImpl {
};
} // namespace wpi::cs
#endif // CSCORE_MJPEGSERVERIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_NETWORKLISTENER_HPP_
#define CSCORE_NETWORKLISTENER_HPP_
#pragma once
#include <memory>
@@ -27,5 +26,3 @@ class NetworkListener {
};
} // namespace wpi::cs
#endif // CSCORE_NETWORKLISTENER_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_NOTIFIER_HPP_
#define CSCORE_NOTIFIER_HPP_
#pragma once
#include <functional>
#include <utility>
@@ -89,5 +88,3 @@ class Notifier
};
} // namespace wpi::cs
#endif // CSCORE_NOTIFIER_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_PROPERTYCONTAINER_HPP_
#define CSCORE_PROPERTYCONTAINER_HPP_
#pragma once
#include <atomic>
#include <cstddef>
@@ -125,5 +124,3 @@ class PropertyContainer {
};
} // namespace wpi::cs
#endif // CSCORE_PROPERTYCONTAINER_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_PROPERTYIMPL_HPP_
#define CSCORE_PROPERTYIMPL_HPP_
#pragma once
#include <string>
#include <string_view>
@@ -49,5 +48,3 @@ class PropertyImpl {
};
} // namespace wpi::cs
#endif // CSCORE_PROPERTYIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_RAWSINKIMPL_HPP_
#define CSCORE_RAWSINKIMPL_HPP_
#pragma once
#include <stdint.h>
@@ -18,6 +17,7 @@
#include "wpi/util/condition_variable.hpp"
namespace wpi::cs {
class SourceImpl;
class RawSinkImpl : public SinkImpl {
@@ -48,6 +48,5 @@ class RawSinkImpl : public SinkImpl {
std::thread m_thread;
std::function<void(uint64_t time)> m_processFrame;
};
} // namespace wpi::cs
#endif // CSCORE_RAWSINKIMPL_HPP_
} // namespace wpi::cs

View File

@@ -2,8 +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.
#ifndef CSCORE_RAWSOURCEIMPL_HPP_
#define CSCORE_RAWSOURCEIMPL_HPP_
#pragma once
#include <atomic>
#include <functional>
@@ -33,5 +32,3 @@ class RawSourceImpl : public ConfigurableSourceImpl {
};
} // namespace wpi::cs
#endif // CSCORE_RAWSOURCEIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_SINKIMPL_HPP_
#define CSCORE_SINKIMPL_HPP_
#pragma once
#include <memory>
#include <string>
@@ -73,5 +72,3 @@ class SinkImpl : public PropertyContainer {
};
} // namespace wpi::cs
#endif // CSCORE_SINKIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_SOURCEIMPL_HPP_
#define CSCORE_SOURCEIMPL_HPP_
#pragma once
#include <atomic>
#include <cstddef>
@@ -194,5 +193,3 @@ class SourceImpl : public PropertyContainer {
};
} // namespace wpi::cs
#endif // CSCORE_SOURCEIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_TELEMETRY_HPP_
#define CSCORE_TELEMETRY_HPP_
#pragma once
#include "wpi/cs/cscore_cpp.hpp"
#include "wpi/util/SafeThread.hpp"
@@ -42,5 +41,3 @@ class Telemetry {
};
} // namespace wpi::cs
#endif // CSCORE_TELEMETRY_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_UNLIMITEDHANDLERESOURCE_HPP_
#define CSCORE_UNLIMITEDHANDLERESOURCE_HPP_
#pragma once
#include <memory>
#include <span>
@@ -190,5 +189,3 @@ UnlimitedHandleResource<THandle, TStruct, typeValue, TMutex>::FindIf(F func) {
}
} // namespace wpi::cs
#endif // CSCORE_UNLIMITEDHANDLERESOURCE_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBCAMERALISTENER_HPP_
#define CSCORE_USBCAMERALISTENER_HPP_
#pragma once
#include <memory>
@@ -27,5 +26,3 @@ class UsbCameraListener {
};
} // namespace wpi::cs
#endif // CSCORE_USBCAMERALISTENER_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_C_UTIL_HPP_
#define CSCORE_C_UTIL_HPP_
#pragma once
#include <cstring>
#include <string_view>
@@ -18,5 +17,3 @@ inline void ConvertToC(struct WPI_String* output, std::string_view str) {
}
} // namespace wpi::cs
#endif // CSCORE_C_UTIL_HPP_

View File

@@ -2,8 +2,7 @@
// http://stackoverflow.com/questions/21028299/is-this-behavior-of-vectorresizesize-type-n-under-c11-and-boost-container
// Credits: Casey and Howard Hinnant
#ifndef CSCORE_DEFAULT_INIT_ALLOCATOR_HPP_
#define CSCORE_DEFAULT_INIT_ALLOCATOR_HPP_
#pragma once
#include <memory>
#include <utility>
@@ -37,5 +36,3 @@ class default_init_allocator : public A {
};
} // namespace wpi::cs
#endif // CSCORE_DEFAULT_INIT_ALLOCATOR_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_H_
#define CSCORE_WPI_CS_CSCORE_H_
#pragma once
/* C API */
#include "wpi/cs/cscore_c.h"
@@ -13,5 +12,3 @@
#include "wpi/cs/cscore_cpp.hpp"
#include "wpi/cs/cscore_oo.hpp"
#endif /* __cplusplus */
#endif // CSCORE_WPI_CS_CSCORE_H_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_C_H_
#define CSCORE_WPI_CS_CSCORE_C_H_
#pragma once
#include <stdint.h>
@@ -527,5 +526,3 @@ struct WPI_String* CS_GetNetworkInterfaces(int* count);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // CSCORE_WPI_CS_CSCORE_C_H_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_CPP_HPP_
#define CSCORE_WPI_CS_CSCORE_CPP_HPP_
#pragma once
#include <stdint.h>
@@ -456,5 +455,3 @@ std::vector<std::string> GetNetworkInterfaces();
// Disable uninitialized variable warnings
#pragma warning(pop)
#endif
#endif // CSCORE_WPI_CS_CSCORE_CPP_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_CV_HPP_
#define CSCORE_WPI_CS_CSCORE_CV_HPP_
#pragma once
#include <functional>
@@ -432,5 +431,3 @@ inline WPI_TimestampSource CvSink::LastFrameTimeSource() {
}
} // namespace wpi::cs
#endif // CSCORE_WPI_CS_CSCORE_CV_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_OO_HPP_
#define CSCORE_WPI_CS_CSCORE_OO_HPP_
#pragma once
#include <functional>
#include <initializer_list>
@@ -1578,5 +1577,3 @@ class VideoListener {
/** @} */
} // namespace wpi::cs
#endif // CSCORE_WPI_CS_CSCORE_OO_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_WPI_CS_CSCORE_RAW_H_
#define CSCORE_WPI_CS_CSCORE_RAW_H_
#pragma once
#include <functional>
@@ -239,5 +238,3 @@ inline uint64_t RawSink::GrabFrameLastTime(wpi::util::RawFrame& image,
} // namespace wpi::cs
#endif
#endif // CSCORE_WPI_CS_CSCORE_RAW_H_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBCAMERABUFFER_HPP_
#define CSCORE_USBCAMERABUFFER_HPP_
#pragma once
#include <sys/mman.h>
@@ -51,5 +50,3 @@ class UsbCameraBuffer {
};
} // namespace wpi::cs
#endif // CSCORE_USBCAMERABUFFER_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBCAMERAIMPL_HPP_
#define CSCORE_USBCAMERAIMPL_HPP_
#pragma once
#include <linux/videodev2.h>
@@ -178,5 +177,3 @@ class UsbCameraImpl : public SourceImpl {
};
} // namespace wpi::cs
#endif // CSCORE_USBCAMERAIMPL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBCAMERAPROPERTY_HPP_
#define CSCORE_USBCAMERAPROPERTY_HPP_
#pragma once
#include <linux/videodev2.h>
@@ -74,5 +73,3 @@ class UsbCameraProperty : public PropertyImpl {
};
} // namespace wpi::cs
#endif // CSCORE_USBCAMERAPROPERTY_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBUTIL_HPP_
#define CSCORE_USBUTIL_HPP_
#pragma once
#include <string>
@@ -20,5 +19,3 @@ int CheckedIoctl(int fd, unsigned long req, void* data, // NOLINT(runtime/int)
CheckedIoctl(fd, req, data, #req, __FILE__, __LINE__, true)
} // namespace wpi::cs
#endif // CSCORE_USBUTIL_HPP_

View File

@@ -2,8 +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.
#ifndef CSCORE_USBCAMERAIMPL_HPP_
#define CSCORE_USBCAMERAIMPL_HPP_
#pragma once
#include <windows.h>
#include <dbt.h>
@@ -174,5 +173,3 @@ class UsbCameraImpl : public SourceImpl,
};
} // namespace wpi::cs
#endif // CSCORE_USBCAMERAIMPL_HPP_

View File

@@ -1,25 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/python/
src/test/python/
}
licenseUpdateExclude {
examples/printlog
}
modifiableFileExclude {
examples/printlog/datalog\.py$
}
repoRootNameOverride {
datalog
}

View File

@@ -1,3 +0,0 @@
generatedFileExclude {
theme.css
}

View File

@@ -1,20 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/app/native/resources/
src/app/native/win/glass.ico
src/app/native/mac/glass.icns
}
repoRootNameOverride {
glass
}

View File

@@ -1,34 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
hal/src/main/native/athena/ctre/
hal/src/main/native/athena/rev/
hal/src/main/native/athena/frccansae/
hal/src/main/native/athena/visa/
hal/src/main/native/include/ctre/
hal/src/main/native/systemcore/ctre/
hal/src/main/native/systemcore/rev/
UsageReporting\.h$
src/generated/main/native/cpp
src/main/python/
src/test/python/
}
modifiableFileExclude {
\.patch$
\.png$
\.so$
}
repoRootNameOverride {
hal
}

View File

@@ -2,8 +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.
#ifndef HAL_HAL_SRC_MAIN_NATIVE_CPP_JNI_HALUTIL_H_
#define HAL_HAL_SRC_MAIN_NATIVE_CPP_JNI_HALUTIL_H_
#pragma once
#include <jni.h>
#include <stdint.h>
@@ -85,5 +84,3 @@ jobject CreateCANStreamMessage(JNIEnv* env);
JavaVM* GetJVM();
} // namespace wpi::hal
#endif // HAL_HAL_SRC_MAIN_NATIVE_CPP_JNI_HALUTIL_H_

View File

@@ -1,33 +0,0 @@
cHeaderFileInclude {
_c\.h$
}
cppHeaderFileInclude {
(?<!_c)\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
ntcore/doc/
ntcore/src/generated
.*\.jinja
src/main/python/
src/test/python/
}
repoRootNameOverride {
ntcore
}
includeGuardRoots {
ntcore/src/main/native/cpp/
ntcore/src/main/native/include/
ntcore/src/test/native/cpp/
}

View File

@@ -1,20 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
}
cppSrcFileInclude {
\.cpp$
}
modifiableFileExclude {
src/main/native/include/DataLogManager\.h$
}
repoRootNameOverride {
ntcoreffi
}
includeGuardRoots {
ntcoreffi/src/main/native/include/
}

View File

@@ -1,18 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/python/
src/test/python/
}
repoRootNameOverride {
wpilib
}

View File

@@ -1,20 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/native/resources/
src/main/native/win/datalogtool.ico
src/main/native/mac/datalogtool.icns
}
repoRootNameOverride {
datalogtool
}

View File

@@ -1,20 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/native/resources/
src/main/native/win/outlineviewer.ico
src/main/native/mac/ov.icns
}
repoRootNameOverride {
outlineviewer
}

View File

@@ -1,20 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/native/resources/
src/main/native/win/sysid.ico
src/main/native/mac/sysid.icns
}
repoRootNameOverride {
sysid
}

View File

@@ -1,22 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/native/assets/
src/main/native/resources/
src/main/native/thirdparty/
src/main/native/win/wpical.ico
src/main/native/mac/wpical.icns
}
repoRootNameOverride {
wpical
}

View File

@@ -1,25 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
wpigui/src/main/native/cpp/portable-file-dialogs\.cpp$
wpigui/src/main/native/include/wpi/gui/portable-file-dialogs\.h$
}
repoRootNameOverride {
wpigui
}
includeGuardRoots {
wpigui/src/main/native/cpp/
wpigui/src/main/native/include/
wpigui/src/main/native/directx11/
wpigui/src/main/native/metal/
wpigui/src/main/native/opengl3/
}

View File

@@ -1,9 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
}
cppSrcFileInclude {
\.cpp$
}

View File

@@ -1,36 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
modifiableFileExclude {
\.patch$
}
generatedFileExclude {
src/main/native/include/wpi/units/base\.hpp$
src/main/native/include/wpi/units/units\.hpp$
src/main/native/thirdparty/
src/test/native/cpp/UnitsTest\.cpp$
src/generated/main/java/org/wpilib/math/proto
src/generated/main/native/cpp
src/main/python/
src/test/python/
}
repoRootNameOverride {
wpimath
}
includeGuardRoots {
wpimath/src/main/native/cpp/
wpimath/src/main/native/include/
wpimath/src/test/native/cpp/
}

View File

@@ -1,35 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
}
cppSrcFileInclude {
\.cpp$
}
generatedFileExclude {
src/main/native/thirdparty/
src/main/native/cpp/http_parser\.cpp$
src/main/native/include/wpi/net/http_parser\.hpp$
src/main/native/resources/
src/main/native/linux/AvahiClient
src/main/python/
src/test/python/
}
licenseUpdateExclude {
}
repoRootNameOverride {
wpinet
}
includeGuardRoots {
wpinet/src/main/native/cpp/
wpinet/src/main/native/include/wpinet/
wpinet/src/test/native/cpp/
}

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_EVENTLOOPRUNNER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_EVENTLOOPRUNNER_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -58,5 +57,3 @@ class EventLoopRunner {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_EVENTLOOPRUNNER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPPARSER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPPARSER_HPP_
#pragma once
#include <stdint.h>
@@ -223,5 +222,3 @@ class HttpParser {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPPARSER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPSERVERCONNECTION_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPSERVERCONNECTION_HPP_
#pragma once
#include <memory>
#include <span>
@@ -151,5 +150,3 @@ class HttpServerConnection {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPSERVERCONNECTION_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPUTIL_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPUTIL_HPP_
#pragma once
#include <initializer_list>
#include <memory>
@@ -460,5 +459,3 @@ inline HttpPathRef HttpPath::drop_front(size_t n) const {
}
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPUTIL_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPWEBSOCKETSERVERCONNECTION_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPWEBSOCKETSERVERCONNECTION_HPP_
#pragma once
#include <initializer_list>
#include <memory>
@@ -122,5 +121,3 @@ class HttpWebSocketServerConnection
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HTTPWEBSOCKETSERVERCONNECTION_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_MIMETYPES_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_MIMETYPES_HPP_
#pragma once
#include <string_view>
@@ -12,5 +11,3 @@ namespace wpi::net {
std::string_view MimeTypeFromPath(std::string_view path);
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_MIMETYPES_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKACCEPTOR_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKACCEPTOR_HPP_
#pragma once
#include <memory>
@@ -25,5 +24,3 @@ class NetworkAcceptor {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKACCEPTOR_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKSTREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKSTREAM_HPP_
#pragma once
#include <cstddef>
#include <string_view>
@@ -40,5 +39,3 @@ class NetworkStream {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_NETWORKSTREAM_HPP_

View File

@@ -2,9 +2,6 @@
// 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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_PORTFORWARDER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_PORTFORWARDER_HPP_
#pragma once
#include <memory>
@@ -55,5 +52,3 @@ class PortForwarder {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_PORTFORWARDER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_SOCKETERROR_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_SOCKETERROR_HPP_
#pragma once
#include <string>
@@ -18,5 +17,3 @@ inline std::string SocketStrerror() {
}
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_SOCKETERROR_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UDPCLIENT_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UDPCLIENT_HPP_
#pragma once
#include <span>
#include <string>
@@ -47,5 +46,3 @@ class UDPClient {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UDPCLIENT_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_URLPARSER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_URLPARSER_HPP_
#pragma once
#include <string_view>
@@ -91,5 +90,3 @@ class UrlParser {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_URLPARSER_HPP_

View File

@@ -2,9 +2,6 @@
// 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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSERVER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSERVER_HPP_
#pragma once
#include <memory>
@@ -54,5 +51,3 @@ class WebServer {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSERVER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKET_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKET_HPP_
#pragma once
#include <stdint.h>
@@ -560,5 +559,3 @@ class WebSocket : public std::enable_shared_from_this<WebSocket> {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKET_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKETSERVER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKETSERVER_HPP_
#pragma once
#include <functional>
#include <initializer_list>
@@ -186,5 +185,3 @@ class WebSocketServer : public std::enable_shared_from_this<WebSocketServer> {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WEBSOCKETSERVER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WORKERTHREAD_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WORKERTHREAD_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -281,5 +280,3 @@ class WorkerThread<R(T...)> final {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_WORKERTHREAD_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HOSTNAME_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HOSTNAME_HPP_
#pragma once
#include <string>
#include <string_view>
@@ -17,5 +16,3 @@ namespace wpi::net {
std::string GetHostname();
std::string_view GetHostname(wpi::util::SmallVectorImpl<char>& name);
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_HOSTNAME_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_ISTREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_ISTREAM_HPP_
#pragma once
#include "wpi/util/raw_istream.hpp"
@@ -27,5 +26,3 @@ class raw_socket_istream : public wpi::util::raw_istream {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_ISTREAM_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_OSTREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_OSTREAM_HPP_
#pragma once
#include "wpi/util/raw_ostream.hpp"
@@ -35,5 +34,3 @@ class raw_socket_ostream : public wpi::util::raw_ostream {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_SOCKET_OSTREAM_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_UV_OSTREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_UV_OSTREAM_HPP_
#pragma once
#include <functional>
#include <span>
@@ -70,5 +69,3 @@ class raw_uv_ostream : public wpi::util::raw_ostream {
};
} // namespace wpi::net
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_RAW_UV_OSTREAM_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNC_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNC_HPP_
#pragma once
#include <memory>
#include <thread>
@@ -197,5 +196,3 @@ class Async<> final : public HandleImpl<Async<>, uv_async_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNC_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNCFUNCTION_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNCFUNCTION_HPP_
#pragma once
#include <stdint.h>
@@ -177,5 +176,3 @@ class AsyncFunction<R(T...)> final
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ASYNCFUNCTION_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_BUFFER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_BUFFER_HPP_
#pragma once
#include <cstring>
#include <initializer_list>
@@ -172,5 +171,3 @@ class SimpleBufferPool {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_BUFFER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_CHECK_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_CHECK_HPP_
#pragma once
#include <memory>
@@ -61,5 +60,3 @@ class Check final : public HandleImpl<Check, uv_check_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_CHECK_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ERROR_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ERROR_HPP_
#pragma once
#include <uv.h>
@@ -42,5 +41,3 @@ class Error {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_ERROR_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_FSEVENT_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_FSEVENT_HPP_
#pragma once
#include <memory>
#include <string>
@@ -75,5 +74,3 @@ class FsEvent final : public HandleImpl<FsEvent, uv_fs_event_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_FSEVENT_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETADDRINFO_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETADDRINFO_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -116,5 +115,3 @@ inline void GetAddrInfo(const std::shared_ptr<Loop>& loop,
}
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETADDRINFO_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETNAMEINFO_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETNAMEINFO_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -223,5 +222,3 @@ inline void GetNameInfo6(const std::shared_ptr<Loop>& loop,
}
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_GETNAMEINFO_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_HANDLE_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_HANDLE_HPP_
#pragma once
#include <cstdlib>
#include <functional>
@@ -310,5 +309,3 @@ class HandleImpl : public Handle {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_HANDLE_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_IDLE_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_IDLE_HPP_
#pragma once
#include <memory>
@@ -70,5 +69,3 @@ class Idle final : public HandleImpl<Idle, uv_idle_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_IDLE_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_LOOP_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_LOOP_HPP_
#pragma once
#include <atomic>
#include <chrono>
@@ -264,5 +263,3 @@ class Loop final : public std::enable_shared_from_this<Loop> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_LOOP_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_NETWORKSTREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_NETWORKSTREAM_HPP_
#pragma once
#include <cstdlib>
#include <functional>
@@ -149,5 +148,3 @@ class NetworkStreamImpl : public NetworkStream {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_NETWORKSTREAM_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PIPE_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PIPE_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -204,5 +203,3 @@ class PipeConnectReq : public ConnectReq {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PIPE_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_POLL_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_POLL_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -118,5 +117,3 @@ class Poll final : public HandleImpl<Poll, uv_poll_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_POLL_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PREPARE_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PREPARE_HPP_
#pragma once
#include <memory>
@@ -61,5 +60,3 @@ class Prepare final : public HandleImpl<Prepare, uv_prepare_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PREPARE_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PROCESS_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PROCESS_HPP_
#pragma once
#include <initializer_list>
#include <memory>
@@ -306,5 +305,3 @@ class Process final : public HandleImpl<Process, uv_process_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_PROCESS_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_REQUEST_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_REQUEST_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -167,5 +166,3 @@ class RequestImpl : public Request {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_REQUEST_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_SIGNAL_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_SIGNAL_HPP_
#pragma once
#include <memory>
@@ -75,5 +74,3 @@ class Signal final : public HandleImpl<Signal, uv_signal_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_SIGNAL_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_STREAM_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_STREAM_HPP_
#pragma once
#include <cstdlib>
#include <functional>
@@ -330,5 +329,3 @@ class StreamImpl : public Stream {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_STREAM_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TCP_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TCP_HPP_
#pragma once
#include <chrono>
#include <functional>
@@ -367,5 +366,3 @@ class TcpConnectReq : public ConnectReq {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TCP_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TIMER_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TIMER_HPP_
#pragma once
#include <chrono>
#include <functional>
@@ -140,5 +139,3 @@ class Timer final : public HandleImpl<Timer, uv_timer_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TIMER_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TTY_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TTY_HPP_
#pragma once
#include <memory>
#include <utility>
@@ -81,5 +80,3 @@ class Tty final : public StreamImpl<Tty, uv_tty_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_TTY_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UDP_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UDP_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -394,5 +393,3 @@ class Udp final : public HandleImpl<Udp, uv_udp_t> {
};
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UDP_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_WORK_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_WORK_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -89,5 +88,3 @@ inline void QueueWork(const std::shared_ptr<Loop>& loop,
}
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_WORK_HPP_

View File

@@ -2,8 +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.
#ifndef WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UTIL_HPP_
#define WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UTIL_HPP_
#pragma once
#include <cstring>
#include <string_view>
@@ -154,5 +153,3 @@ int NameToAddr(std::string_view ip, in_addr* addr);
int NameToAddr(std::string_view ip, in6_addr* addr);
} // namespace wpi::net::uv
#endif // WPINET_WPINET_SRC_MAIN_NATIVE_INCLUDE_WPI_NET_UV_UTIL_HPP_

View File

@@ -1,51 +0,0 @@
cppHeaderFileInclude {
\.h$
\.hpp$
\.inc$
\.inl$
expected$
math$
numbers$
scope$
}
cppSrcFileInclude {
\.cpp$
}
modifiableFileExclude {
src/main/native/include/wpi/util/MulticastServiceAnnouncer\.h$
}
generatedFileExclude {
src/main/native/thirdparty/
src/main/python/
src/test/python/
src/main/native/include/wpi/util/fs\.hpp$
src/main/native/include/wpi/util/FastQueue\.hpp$
src/main/native/cpp/fs\.cpp$
src/main/native/resources/
src/main/native/windows/StackWalker
src/test/native/cpp/llvm/
src/test/native/cpp/span/
src/test/native/cpp/json/
src/generated/test/native/cpp
}
licenseUpdateExclude {
src/main/native/cpp/Base64\.cpp$
src/main/native/cpp/sha1\.cpp$
src/main/native/include/wpi/util/sha1\.hpp$
}
repoRootNameOverride {
wpiutil
}
includeGuardRoots {
wpiutil/src/main/native/cpp/
wpiutil/src/main/native/include/
wpiutil/src/test/native/cpp/
}

Some files were not shown because too many files have changed in this diff Show More