Skip to content

Draft: clang-tidy: Add check modernize-use-default-member-init

EDIT: This MR is now integrated in !1142.


Add and apply clang-tidy check modernize-use-default-member-init.

This check detects cases of class member variables that are initialized with default values in the constructor's initialization list, instead of next to the corresponding variable declaration. Please refer to the updated section of the file coding-style.rst in this MR for more details.

Edited by Eduardo Almeida

Merge request reports

Loading