Upgrade clang to 16.0.3
We really want clang 17 for the new CUDA version, but that isn't out
yet. This gets us a lot closer.
Change-Id: Iff6bb187260777690ae68a7eaef1e508c7194e68
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/network/message_bridge_client_lib.cc b/aos/network/message_bridge_client_lib.cc
index 19f3420..34f578e 100644
--- a/aos/network/message_bridge_client_lib.cc
+++ b/aos/network/message_bridge_client_lib.cc
@@ -62,7 +62,6 @@
const Node *my_node,
const Node *other_node) {
std::vector<bool> stream_reply_with_timestamp;
- int channel_index = 0;
for (const Channel *channel : *config->channels()) {
if (configuration::ChannelIsSendableOnNode(channel, other_node)) {
const Connection *connection =
@@ -78,7 +77,6 @@
configuration::ChannelMessageIsLoggedOnNode(channel, my_node));
}
}
- ++channel_index;
}
return stream_reply_with_timestamp;
diff --git a/aos/network/multinode_timestamp_filter.cc b/aos/network/multinode_timestamp_filter.cc
index 55b6b02..b4ebef4 100644
--- a/aos/network/multinode_timestamp_filter.cc
+++ b/aos/network/multinode_timestamp_filter.cc
@@ -1820,7 +1820,6 @@
}
if (filter_fps_.size() != 0 && !destructor) {
- size_t node_a_index = 0;
for (const auto &filters : filters_per_node_) {
for (const auto &filter : filters) {
while (true) {
@@ -1832,7 +1831,6 @@
WriteFilter(filter.filter, *sample);
}
}
- ++node_a_index;
}
}
diff --git a/aos/network/rawrtc.h b/aos/network/rawrtc.h
index f43cc5e..7908124 100644
--- a/aos/network/rawrtc.h
+++ b/aos/network/rawrtc.h
@@ -170,9 +170,7 @@
void Open();
// Returns the connection if Open has been called.
- struct rawrtc_peer_connection *connection() {
- return connection_;
- }
+ struct rawrtc_peer_connection *connection() { return connection_; }
private:
// Trampolines from C -> C++.
diff --git a/aos/network/sctp_client.h b/aos/network/sctp_client.h
index 06f6b15..9b9265e 100644
--- a/aos/network/sctp_client.h
+++ b/aos/network/sctp_client.h
@@ -44,9 +44,7 @@
void SetPriorityScheduler(sctp_assoc_t assoc_id);
// Remote to send to.
- struct sockaddr_storage sockaddr_remote() const {
- return sockaddr_remote_;
- }
+ struct sockaddr_storage sockaddr_remote() const { return sockaddr_remote_; }
void LogSctpStatus(sctp_assoc_t assoc_id);