[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:
Tyler Veness
2024-03-18 23:11:20 -07:00
committed by GitHub
parent b4674bacb9
commit 5370f249a1
43 changed files with 135 additions and 132 deletions

View File

@@ -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;
};
/**

View File

@@ -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 \

View File

@@ -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.