mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
[build] Upgrade to wpiformat 2024.33 (#6449)
This upgrades to clang-format and clang-tidy 18.1.1. This has the constructor attribute formatting fix, so we can remove our WPI_DEPRECATED macro.
This commit is contained in:
@@ -991,7 +991,8 @@ class StructLogEntry : public DataLogEntry {
|
||||
}
|
||||
|
||||
private:
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1059,7 +1060,8 @@ class StructArrayLogEntry : public DataLogEntry {
|
||||
|
||||
private:
|
||||
StructArrayBuffer<T, I...> m_buf;
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,10 +5,6 @@
|
||||
#ifndef WPIUTIL_WPI_DEPRECATED_H_
|
||||
#define WPIUTIL_WPI_DEPRECATED_H_
|
||||
|
||||
#ifndef WPI_DEPRECATED
|
||||
#define WPI_DEPRECATED(msg) [[deprecated(msg)]]
|
||||
#endif
|
||||
|
||||
#ifndef WPI_IGNORE_DEPRECATED
|
||||
#ifdef __GNUC__
|
||||
#define WPI_IGNORE_DEPRECATED \
|
||||
|
||||
@@ -225,8 +225,8 @@ using copy_cv_t = typename copy_cv<CvSrc, Dest>::type;
|
||||
|
||||
template <typename From, typename To>
|
||||
constexpr bool is_qualification_convertible_v =
|
||||
!(std::is_const_v<From> && !std::is_const_v<To>)&&!(
|
||||
std::is_volatile_v<From> && !std::is_volatile_v<To>);
|
||||
!(std::is_const_v<From> && !std::is_const_v<To>) &&
|
||||
!(std::is_volatile_v<From> && !std::is_volatile_v<To>);
|
||||
|
||||
/**
|
||||
* Helper class for working with JNI arrays.
|
||||
|
||||
Reference in New Issue
Block a user