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/events/event_loop.h b/aos/events/event_loop.h
index 1ed4337..827dd46 100644
--- a/aos/events/event_loop.h
+++ b/aos/events/event_loop.h
@@ -113,15 +113,15 @@
public:
using SharedSpan = std::shared_ptr<const absl::Span<const uint8_t>>;
- enum class [[nodiscard]] Error{
- // Represents success and no error
- kOk,
+ enum class [[nodiscard]] Error {
+ // Represents success and no error
+ kOk,
- // Error for messages on channels being sent faster than their
- // frequency and channel storage duration allow
- kMessagesSentTooFast,
- // Access to Redzone was attempted in Sender Queue
- kInvalidRedzone,
+ // Error for messages on channels being sent faster than their
+ // frequency and channel storage duration allow
+ kMessagesSentTooFast,
+ // Access to Redzone was attempted in Sender Queue
+ kInvalidRedzone,
};
RawSender(EventLoop *event_loop, const Channel *channel);
diff --git a/aos/events/logging/multinode_logger_test_lib.cc b/aos/events/logging/multinode_logger_test_lib.cc
index 64dd1cd..9b3e00c 100644
--- a/aos/events/logging/multinode_logger_test_lib.cc
+++ b/aos/events/logging/multinode_logger_test_lib.cc
@@ -544,14 +544,12 @@
}
std::vector<std::tuple<std::string, std::string, int>> result;
- int channel = 0;
for (size_t i = 0; i < counts.size(); ++i) {
if (counts[i] != 0) {
const Channel *channel = config->channels()->Get(i);
result.push_back(std::make_tuple(channel->name()->str(),
channel->type()->str(), counts[i]));
}
- ++channel;
}
return result;