Added default class method and member grouping and sorting

This commit is contained in:
Bartek Kryza
2023-05-31 22:46:39 +02:00
parent 097f7a11ed
commit c87bd7d94b
10 changed files with 285 additions and 119 deletions

View File

@@ -81,6 +81,13 @@ void class_method::is_constructor(bool is_constructor)
is_constructor_ = is_constructor;
}
bool class_method::is_destructor() const { return is_destructor_; }
void class_method::is_destructor(bool is_destructor)
{
is_destructor_ = is_destructor;
}
bool class_method::is_move_assignment() const { return is_move_assignment_; }
void class_method::is_move_assignment(bool is_move_assignment)

View File

@@ -66,6 +66,9 @@ public:
bool is_constructor() const;
void is_constructor(bool is_constructor);
bool is_destructor() const;
void is_destructor(bool is_destructor);
bool is_move_assignment() const;
void is_move_assignment(bool is_move_assignment);
@@ -91,6 +94,7 @@ private:
bool is_constexpr_{false};
bool is_consteval_{false};
bool is_constructor_{false};
bool is_destructor_{false};
bool is_move_assignment_{false};
bool is_copy_assignment_{false};
bool is_operator_{false};