parse_file: show various additional type traits

This commit is contained in:
rdb 2018-06-09 10:29:19 +02:00
parent 7086a6a2db
commit acac93a1d1

View File

@ -74,7 +74,14 @@ show_type_or_expression(const string &str) {
cout << "\n\n"
<< "is_template = " << type->is_template() << "\n"
<< "is_fully_specified = " << type->is_fully_specified() << "\n"
<< "is_tbd = " << type->is_tbd() << "\n";
<< "is_tbd = " << type->is_tbd() << "\n"
<< "is_fundamental = " << type->is_fundamental() << "\n"
<< "is_standard_layout = " << type->is_standard_layout() << "\n"
<< "is_trivial = " << type->is_trivial() << "\n"
<< "is_default_constructible = " << type->is_default_constructible() << "\n"
<< "is_copy_constructible = " << type->is_copy_constructible() << "\n"
<< "is_copy_assignable = " << type->is_copy_assignable() << "\n"
<< "is_destructible = " << type->is_destructible() << "\n";
if (type->has_typedef_name()) {
cout << "get_typedef_name = " << type->get_typedef_name() << "\n";
}