Jenkins re-enable clang-tidy and update .clang-tidy

- device/Device: fix explicit constructor and uninitialized fields
 - systemcmds/motor_test: update NULL to nullptr
This commit is contained in:
Daniel Agar
2019-10-27 17:19:11 -04:00
committed by GitHub
parent 7b94c501cd
commit ae27dd60a6
6 changed files with 266 additions and 190 deletions
@@ -49,7 +49,12 @@ class WorkItem : public ListNode<WorkItem *>, public IntrusiveQueueNode<WorkItem
{
public:
inline void ScheduleNow() { if (_wq != nullptr) _wq->Add(this); }
inline void ScheduleNow()
{
if (_wq != nullptr) {
_wq->Add(this);
}
}
virtual void print_run_status() const;