mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +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:
@@ -323,8 +323,7 @@ NetworkServer::NetworkServer(std::string_view persistentFilename,
|
||||
HandleLocal();
|
||||
|
||||
// load persistent file first, then initialize
|
||||
uv::QueueWork(
|
||||
m_loop, [this] { LoadPersistent(); }, [this] { Init(); });
|
||||
uv::QueueWork(m_loop, [this] { LoadPersistent(); }, [this] { Init(); });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -228,7 +228,8 @@ class StructArraySubscriber : public Subscriber {
|
||||
|
||||
private:
|
||||
ValueType m_defaultValue;
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -387,7 +388,8 @@ class StructArrayPublisher : public Publisher {
|
||||
private:
|
||||
wpi::StructArrayBuffer<T, I...> m_buf;
|
||||
std::atomic_bool m_schemaPublished{false};
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -702,7 +704,8 @@ class StructArrayTopic final : public Topic {
|
||||
}
|
||||
|
||||
private:
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
} // namespace nt
|
||||
|
||||
@@ -180,7 +180,8 @@ class StructSubscriber : public Subscriber {
|
||||
|
||||
private:
|
||||
ValueType m_defaultValue;
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -301,7 +302,8 @@ class StructPublisher : public Publisher {
|
||||
|
||||
private:
|
||||
std::atomic_bool m_schemaPublished{false};
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -522,7 +524,8 @@ class StructTopic final : public Topic {
|
||||
}
|
||||
|
||||
private:
|
||||
[[no_unique_address]] std::tuple<I...> m_info;
|
||||
[[no_unique_address]]
|
||||
std::tuple<I...> m_info;
|
||||
};
|
||||
|
||||
} // namespace nt
|
||||
|
||||
Reference in New Issue
Block a user