/dflybsd-src/contrib/gcc-8.0/gcc/ |
H A D | vtable-verify.c | 381 unsigned int type_quals; in vtbl_map_get_node() local 393 type_quals = TYPE_QUALS (TREE_TYPE (class_type_decl)); in vtbl_map_get_node() 394 gcc_assert (type_quals == TYPE_UNQUALIFIED); in vtbl_map_get_node() 420 unsigned int type_quals; in find_or_create_vtbl_map_node() local 429 type_quals = TYPE_QUALS (TREE_TYPE (class_type_decl)); in find_or_create_vtbl_map_node() 430 gcc_assert (type_quals == TYPE_UNQUALIFIED); in find_or_create_vtbl_map_node()
|
H A D | langhooks.h | 56 int (*type_quals) (const_tree); member
|
H A D | tree.c | 5915 set_type_quals (tree type, int type_quals) in set_type_quals() argument 5917 TYPE_READONLY (type) = (type_quals & TYPE_QUAL_CONST) != 0; in set_type_quals() 5918 TYPE_VOLATILE (type) = (type_quals & TYPE_QUAL_VOLATILE) != 0; in set_type_quals() 5919 TYPE_RESTRICT (type) = (type_quals & TYPE_QUAL_RESTRICT) != 0; in set_type_quals() 5920 TYPE_ATOMIC (type) = (type_quals & TYPE_QUAL_ATOMIC) != 0; in set_type_quals() 5921 TYPE_ADDR_SPACE (type) = DECODE_QUAL_ADDR_SPACE (type_quals); in set_type_quals() 5956 check_qualified_type (const_tree cand, const_tree base, int type_quals) in check_qualified_type() argument 5958 return (TYPE_QUALS (cand) == type_quals in check_qualified_type() 6025 get_qualified_type (tree type, int type_quals) in get_qualified_type() argument 6029 if (TYPE_QUALS (type) == type_quals) in get_qualified_type() [all …]
|
H A D | tree-dump.c | 370 int quals = lang_hooks.tree_dump.type_quals (t); in dequeue_and_dump()
|
/dflybsd-src/contrib/gcc-4.7/gcc/cp/ |
H A D | tree.c | 919 c_build_qualified_type (tree type, int type_quals) in c_build_qualified_type() argument 921 return cp_build_qualified_type (type, type_quals); in c_build_qualified_type() 947 int type_quals, in cp_build_qualified_type_real() argument 956 if (type_quals == cp_type_quals (type)) in cp_build_qualified_type_real() 966 type_quals, in cp_build_qualified_type_real() 1016 t = cp_build_qualified_type_real (t, type_quals, complain); in cp_build_qualified_type_real() 1023 t = cp_build_qualified_type_real (t, type_quals, complain); in cp_build_qualified_type_real() 1030 if (type_quals & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE) in cp_build_qualified_type_real() 1036 bad_quals |= type_quals & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE); in cp_build_qualified_type_real() 1037 type_quals &= ~(TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE); in cp_build_qualified_type_real() [all …]
|
H A D | decl.c | 7776 int type_quals = cp_type_quals (type); in build_ptrmemfunc_type() local 7777 TYPE_READONLY (t) = (type_quals & TYPE_QUAL_CONST) != 0; in build_ptrmemfunc_type() 7778 TYPE_VOLATILE (t) = (type_quals & TYPE_QUAL_VOLATILE) != 0; in build_ptrmemfunc_type() 7779 TYPE_RESTRICT (t) = (type_quals & TYPE_QUAL_RESTRICT) != 0; in build_ptrmemfunc_type() 8414 int type_quals; in grokdeclarator() local 8936 type_quals = TYPE_UNQUALIFIED; in grokdeclarator() 8938 type_quals |= TYPE_QUAL_CONST; in grokdeclarator() 8940 type_quals |= TYPE_QUAL_VOLATILE; in grokdeclarator() 8942 type_quals |= TYPE_QUAL_RESTRICT; in grokdeclarator() 8943 if (sfk == sfk_conversion && type_quals != TYPE_UNQUALIFIED) in grokdeclarator() [all …]
|
H A D | typeck.c | 2209 int type_quals; in build_class_member_access_expr() local 2297 type_quals = TYPE_UNQUALIFIED; in build_class_member_access_expr() 2301 type_quals = (cp_type_quals (member_type) in build_class_member_access_expr() 2308 type_quals &= ~TYPE_QUAL_CONST; in build_class_member_access_expr() 2309 member_type = cp_build_qualified_type (member_type, type_quals); in build_class_member_access_expr() 2319 if (type_quals & TYPE_QUAL_CONST) in build_class_member_access_expr() 2321 if (type_quals & TYPE_QUAL_VOLATILE) in build_class_member_access_expr() 8278 cp_apply_type_quals_to_decl (int type_quals, tree decl) in cp_apply_type_quals_to_decl() argument 8289 && type_quals != TYPE_UNQUALIFIED)); in cp_apply_type_quals_to_decl() 8299 type_quals &= ~TYPE_QUAL_CONST; in cp_apply_type_quals_to_decl() [all …]
|
H A D | decl2.c | 119 int type_quals; in build_memfn_type() local 127 type_quals = quals & ~TYPE_QUAL_RESTRICT; in build_memfn_type() 128 ctype = cp_build_qualified_type (ctype, type_quals); in build_memfn_type()
|
H A D | class.c | 515 int type_quals = cp_type_quals (TREE_TYPE (expr)); in build_simple_base_path() local 518 cp_build_qualified_type (type, type_quals), in build_simple_base_path() 525 if (type_quals & TYPE_QUAL_CONST) in build_simple_base_path() 527 if (type_quals & TYPE_QUAL_VOLATILE) in build_simple_base_path()
|
/dflybsd-src/contrib/gcc-8.0/gcc/c/ |
H A D | c-decl.c | 5641 int type_quals = TYPE_UNQUALIFIED; in grokdeclarator() local 5831 type_quals = ((constp ? TYPE_QUAL_CONST : 0) in grokdeclarator() 5836 if (type_quals != TYPE_QUALS (element_type)) in grokdeclarator() 6296 addr_space_t as = DECODE_QUAL_ADDR_SPACE (type_quals); in grokdeclarator() 6410 if (type_quals) in grokdeclarator() 6434 int quals_used = type_quals; in grokdeclarator() 6448 && (type_quals & TYPE_QUAL_RESTRICT) in grokdeclarator() 6455 type_quals = TYPE_UNQUALIFIED; in grokdeclarator() 6476 if ((type_quals & TYPE_QUAL_ATOMIC) in grokdeclarator() 6481 type_quals &= ~TYPE_QUAL_ATOMIC; in grokdeclarator() [all …]
|
/dflybsd-src/contrib/binutils-2.27/libiberty/ |
H A D | cplus-dem.c | 131 int type_quals; /* The type qualifiers. */ member 591 qualifier_string (int type_quals) in qualifier_string() argument 593 switch (type_quals) in qualifier_string() 1172 s4 = work->type_quals; in internal_cplus_demangle() 1174 work->type_quals = TYPE_UNQUALIFIED; in internal_cplus_demangle() 1225 work->type_quals = s4; in internal_cplus_demangle() 1460 work->type_quals |= code_for_qualifier (**mangled); in demangle_signature() 1690 if (work->type_quals != TYPE_UNQUALIFIED) in demangle_signature() 1693 string_append (declp, qualifier_string (work->type_quals)); in demangle_signature() 3545 int type_quals; in do_type() local [all …]
|
/dflybsd-src/contrib/gcc-8.0/libiberty/ |
H A D | cplus-dem.c | 137 int type_quals; /* The type qualifiers. */ member 607 qualifier_string (int type_quals) in qualifier_string() argument 609 switch (type_quals) in qualifier_string() 1226 s4 = work->type_quals; in internal_cplus_demangle() 1228 work->type_quals = TYPE_UNQUALIFIED; in internal_cplus_demangle() 1279 work->type_quals = s4; in internal_cplus_demangle() 1526 work->type_quals |= code_for_qualifier (**mangled); in demangle_signature() 1757 if (work->type_quals != TYPE_UNQUALIFIED) in demangle_signature() 1760 string_append (declp, qualifier_string (work->type_quals)); in demangle_signature() 3625 int type_quals; in do_type() local [all …]
|
/dflybsd-src/contrib/gcc-4.7/libiberty/ |
H A D | cplus-dem.c | 131 int type_quals; /* The type qualifiers. */ member 585 qualifier_string (int type_quals) in qualifier_string() argument 587 switch (type_quals) in qualifier_string() 1159 s4 = work->type_quals; in internal_cplus_demangle() 1161 work->type_quals = TYPE_UNQUALIFIED; in internal_cplus_demangle() 1207 work->type_quals = s4; in internal_cplus_demangle() 1440 work->type_quals |= code_for_qualifier (**mangled); in demangle_signature() 1670 if (work->type_quals != TYPE_UNQUALIFIED) in demangle_signature() 1673 string_append (declp, qualifier_string (work->type_quals)); in demangle_signature() 3525 int type_quals; in do_type() local [all …]
|
/dflybsd-src/contrib/gdb-7/libiberty/ |
H A D | cplus-dem.c | 131 int type_quals; /* The type qualifiers. */ member 585 qualifier_string (int type_quals) in qualifier_string() argument 587 switch (type_quals) in qualifier_string() 1159 s4 = work->type_quals; in internal_cplus_demangle() 1161 work->type_quals = TYPE_UNQUALIFIED; in internal_cplus_demangle() 1207 work->type_quals = s4; in internal_cplus_demangle() 1440 work->type_quals |= code_for_qualifier (**mangled); in demangle_signature() 1670 if (work->type_quals != TYPE_UNQUALIFIED) in demangle_signature() 1673 string_append (declp, qualifier_string (work->type_quals)); in demangle_signature() 3525 int type_quals; in do_type() local [all …]
|
/dflybsd-src/contrib/gcc-8.0/gcc/cp/ |
H A D | tree.c | 1160 c_build_qualified_type (tree type, int type_quals, tree /* orig_qual_type */, in c_build_qualified_type() argument 1163 return cp_build_qualified_type (type, type_quals); in c_build_qualified_type() 1189 int type_quals, in cp_build_qualified_type_real() argument 1198 if (type_quals == cp_type_quals (type)) in cp_build_qualified_type_real() 1208 type_quals, in cp_build_qualified_type_real() 1255 t = cp_build_qualified_type_real (t, type_quals, complain); in cp_build_qualified_type_real() 1262 if (type_quals & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE) in cp_build_qualified_type_real() 1268 bad_quals |= type_quals & (TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE); in cp_build_qualified_type_real() 1269 type_quals &= ~(TYPE_QUAL_CONST | TYPE_QUAL_VOLATILE); in cp_build_qualified_type_real() 1274 type_quals |= type_memfn_quals (type); in cp_build_qualified_type_real() [all …]
|
H A D | decl.c | 9242 int type_quals, in grokvardecl() argument 9253 bool constp = (type_quals & TYPE_QUAL_CONST) != 0; in grokvardecl() 9254 bool volatilep = (type_quals & TYPE_QUAL_VOLATILE) != 0; in grokvardecl() 9903 smallest_type_quals_location (int type_quals, const location_t* locations) in smallest_type_quals_location() argument 9907 if (type_quals & TYPE_QUAL_CONST) in smallest_type_quals_location() 9910 if ((type_quals & TYPE_QUAL_VOLATILE) in smallest_type_quals_location() 9914 if ((type_quals & TYPE_QUAL_RESTRICT) in smallest_type_quals_location() 9932 int type_quals, in check_special_function_return_type() argument 9940 else if (type_quals != TYPE_UNQUALIFIED) in check_special_function_return_type() 9941 error_at (smallest_type_quals_location (type_quals, locations), in check_special_function_return_type() [all …]
|
H A D | typeck.c | 2448 int type_quals; in build_class_member_access_expr() local 2516 type_quals = TYPE_UNQUALIFIED; in build_class_member_access_expr() 2520 type_quals = (cp_type_quals (member_type) in build_class_member_access_expr() 2527 type_quals &= ~TYPE_QUAL_CONST; in build_class_member_access_expr() 2528 member_type = cp_build_qualified_type (member_type, type_quals); in build_class_member_access_expr() 2537 if (type_quals & TYPE_QUAL_CONST) in build_class_member_access_expr() 2539 if (type_quals & TYPE_QUAL_VOLATILE) in build_class_member_access_expr() 9739 cp_apply_type_quals_to_decl (int type_quals, tree decl) in cp_apply_type_quals_to_decl() argument 9750 && type_quals != TYPE_UNQUALIFIED)); in cp_apply_type_quals_to_decl() 9760 type_quals &= ~TYPE_QUAL_CONST; in cp_apply_type_quals_to_decl() [all …]
|
H A D | decl2.c | 160 int type_quals; in build_memfn_type() local 169 type_quals = quals & ~TYPE_QUAL_RESTRICT; in build_memfn_type() 170 ctype = cp_build_qualified_type (ctype, type_quals); in build_memfn_type()
|
H A D | class.c | 572 int type_quals = cp_type_quals (TREE_TYPE (expr)); in build_simple_base_path() local 575 cp_build_qualified_type (type, type_quals), in build_simple_base_path() 580 if (type_quals & TYPE_QUAL_CONST) in build_simple_base_path() 582 if (type_quals & TYPE_QUAL_VOLATILE) in build_simple_base_path()
|
/dflybsd-src/contrib/gcc-4.7/gcc/ |
H A D | c-decl.c | 4899 int type_quals = TYPE_UNQUALIFIED; in grokdeclarator() local 5075 type_quals = ((constp ? TYPE_QUAL_CONST : 0) in grokdeclarator() 5493 addr_space_t as = DECODE_QUAL_ADDR_SPACE (type_quals); in grokdeclarator() 5607 if (type_quals) in grokdeclarator() 5622 type = c_build_qualified_type (type, type_quals); in grokdeclarator() 5624 type_quals = TYPE_UNQUALIFIED; in grokdeclarator() 5647 && type_quals) in grokdeclarator() 5650 if (type_quals) in grokdeclarator() 5651 type = c_build_qualified_type (type, type_quals); in grokdeclarator() 5692 type_quals = declarator->u.pointer_quals; in grokdeclarator() [all …]
|
H A D | langhooks.h | 62 int (*type_quals) (const_tree); member
|
H A D | tree.c | 5659 set_type_quals (tree type, int type_quals) in set_type_quals() argument 5661 TYPE_READONLY (type) = (type_quals & TYPE_QUAL_CONST) != 0; in set_type_quals() 5662 TYPE_VOLATILE (type) = (type_quals & TYPE_QUAL_VOLATILE) != 0; in set_type_quals() 5663 TYPE_RESTRICT (type) = (type_quals & TYPE_QUAL_RESTRICT) != 0; in set_type_quals() 5664 TYPE_ADDR_SPACE (type) = DECODE_QUAL_ADDR_SPACE (type_quals); in set_type_quals() 5670 check_qualified_type (const_tree cand, const_tree base, int type_quals) in check_qualified_type() argument 5672 return (TYPE_QUALS (cand) == type_quals in check_qualified_type() 5702 get_qualified_type (tree type, int type_quals) in get_qualified_type() argument 5706 if (TYPE_QUALS (type) == type_quals) in get_qualified_type() 5713 if (check_qualified_type (t, type, type_quals)) in get_qualified_type() [all …]
|
H A D | tree-dump.c | 381 int quals = lang_hooks.tree_dump.type_quals (t); in dequeue_and_dump()
|
H A D | c-typeck.c | 10999 c_build_qualified_type (tree type, int type_quals) in c_build_qualified_type() argument 11008 type_quals); in c_build_qualified_type() 11013 if (TYPE_QUALS (strip_array_types (t)) == type_quals in c_build_qualified_type() 11038 = c_build_qualified_type (unqualified_canon, type_quals); in c_build_qualified_type() 11049 if ((type_quals & TYPE_QUAL_RESTRICT) in c_build_qualified_type() 11054 type_quals &= ~TYPE_QUAL_RESTRICT; in c_build_qualified_type() 11057 return build_qualified_type (type, type_quals); in c_build_qualified_type()
|
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/ |
H A D | c-common.c | 3491 c_apply_type_quals_to_decl (int type_quals, tree decl) in c_apply_type_quals_to_decl() argument 3498 if ((type_quals & TYPE_QUAL_CONST) in c_apply_type_quals_to_decl() 3504 if (type_quals & TYPE_QUAL_VOLATILE) in c_apply_type_quals_to_decl() 3509 if (type_quals & TYPE_QUAL_RESTRICT) in c_apply_type_quals_to_decl()
|