This is an archive of the discontinued LLVM Phabricator instance.

Applying clang-tidy modernize-use-default-member-init over LLDB
ClosedPublic

Authored by shafik on Mar 11 2022, 11:24 AM.

Details

Summary

Applied modernize-use-default-member-init clang-tidy check over LLDB.

It appears in many files we had already switched to in class member init but never updated the constructors to reflect that.

This check is already present in the lldb/.clang-tidy config.

Diff Detail

Event Timeline

shafik created this revision.Mar 11 2022, 11:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2022, 11:24 AM
Herald added a subscriber: arphaman. · View Herald Transcript
shafik requested review of this revision.Mar 11 2022, 11:24 AM
kastiglione added inline comments.
lldb/source/API/SBQueue.cpp
31–32

should you also run clang-format?

shafik updated this revision to Diff 414715.Mar 11 2022, 11:37 AM

Applying clang-format

labath accepted this revision.Mar 14 2022, 1:09 AM

cool

This revision is now accepted and ready to land.Mar 14 2022, 1:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 1:33 PM