Add initial .clang-tidy and fixes

This commit is contained in:
Christian Semmler
2024-01-31 02:16:17 -05:00
parent 9e0b19856c
commit 99c16d1392
306 changed files with 2780 additions and 1958 deletions

View File

@@ -11,8 +11,9 @@ class MxStreamList : public list<T> {
public:
MxBool PopFront(T& p_obj)
{
if (this->empty())
if (this->empty()) {
return FALSE;
}
p_obj = this->front();
this->pop_front();
@@ -29,8 +30,9 @@ public:
// instead of MxDSAction. Until then, we use this helper.
MxBool PopFrontStreamingAction(MxDSStreamingAction*& p_obj)
{
if (empty())
if (empty()) {
return FALSE;
}
p_obj = (MxDSStreamingAction*) front();
pop_front();