/netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
H A D | class.cc | 1352 handle_using_decl (tree using_decl, tree t) in handle_using_decl() argument 1354 tree decl = USING_DECL_DECLS (using_decl); in handle_using_decl() 1364 tree name = DECL_NAME (using_decl); in handle_using_decl() 1381 error_at (DECL_SOURCE_LOCATION (using_decl), "%qD invalid in %q#T " in handle_using_decl() 1383 using_decl, t, old_value); in handle_using_decl() 1390 error_at (DECL_SOURCE_LOCATION (using_decl), "%qD invalid in %q#T " in handle_using_decl() 1392 using_decl, t, old_value); in handle_using_decl() 1398 iloc_sentinel ils (DECL_SOURCE_LOCATION (using_decl)); in handle_using_decl() 1399 tree access = declared_access (using_decl); in handle_using_decl() 1402 if (USING_DECL_UNRELATED_P (using_decl)) in handle_using_decl() [all …]
|
H A D | name-lookup.cc | 5745 tree using_decl = build_lang_decl (USING_DECL, lookup.name, NULL_TREE); in lookup_using_decl() local 5746 USING_DECL_SCOPE (using_decl) = scope; in lookup_using_decl() 5747 USING_DECL_DECLS (using_decl) = lookup.value; in lookup_using_decl() 5748 DECL_DEPENDENT_P (using_decl) = dependent_p; in lookup_using_decl() 5749 DECL_CONTEXT (using_decl) = current; in lookup_using_decl() 5751 USING_DECL_UNRELATED_P (using_decl) = true; in lookup_using_decl() 5753 return using_decl; in lookup_using_decl() 6194 tree using_decl = lookup_using_decl (scope, lookup); in finish_nonmember_using_decl() local 6195 if (!using_decl) in finish_nonmember_using_decl() 6297 add_decl_expr (using_decl); in finish_nonmember_using_decl() [all …]
|
H A D | cp-tree.def | 207 DEFTREECODE (USING_DECL, "using_decl", tcc_declaration, 0)
|
H A D | typeck.cc | 2669 tree using_decl = NULL_TREE; in build_class_member_access_expr() local 2900 else if ((using_decl = strip_using_decl (member)) != member) in build_class_member_access_expr() 2902 using_decl, in build_class_member_access_expr()
|
H A D | ChangeLog-2005 | 1873 * cp-tree.h (add_method): Add using_decl parameter. 1874 * class.c (add_method): Add using_decl parameter. Adjust error
|
H A D | pt.cc | 31024 tree using_decl = build_lang_decl (USING_DECL, name, NULL_TREE); in test_type_dependent_expression_p() local 31025 TREE_TYPE (using_decl) = integer_type_node; in test_type_dependent_expression_p() 31026 ASSERT_TRUE (type_dependent_expression_p (using_decl)); in test_type_dependent_expression_p() 31027 tree wrapped_using_decl = maybe_wrap_with_location (using_decl, loc); in test_type_dependent_expression_p()
|
H A D | ChangeLog-1994 | 226 (using_decl): New rule for using declarations. 230 (component_decl): Add using_decl.
|
H A D | ChangeLog-2016 | 620 (add_implicitly_declared_members): Pass using_decl down.
|
H A D | ChangeLog-1995 | 1668 * parse.y (lang_extdef, using_decl, extdef): Likewise.
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
H A D | class.c | 1267 handle_using_decl (tree using_decl, tree t) in handle_using_decl() argument 1269 tree decl = USING_DECL_DECLS (using_decl); in handle_using_decl() 1270 tree name = DECL_NAME (using_decl); in handle_using_decl() 1271 tree access = declared_access (using_decl); in handle_using_decl() 1303 error_at (DECL_SOURCE_LOCATION (using_decl), "%qD invalid in %q#T " in handle_using_decl() 1305 using_decl, t, old_value); in handle_using_decl() 1313 error_at (DECL_SOURCE_LOCATION (using_decl), "%qD invalid in %q#T " in handle_using_decl() 1315 using_decl, t, old_value); in handle_using_decl() 3176 one_inherited_ctor (tree ctor, tree t, tree using_decl) in one_inherited_ctor() argument 3184 add_method (t, ctor, using_decl != NULL_TREE); in one_inherited_ctor() [all …]
|
H A D | name-lookup.c | 4761 tree using_decl = build_lang_decl (USING_DECL, lookup.name, NULL_TREE); in do_class_using_decl() local 4762 USING_DECL_SCOPE (using_decl) = scope; in do_class_using_decl() 4763 USING_DECL_DECLS (using_decl) = found; in do_class_using_decl() 4764 DECL_DEPENDENT_P (using_decl) = !found; in do_class_using_decl() 4766 return using_decl; in do_class_using_decl() 5168 tree using_decl = build_lang_decl (USING_DECL, lookup.name, NULL_TREE); in finish_nonmember_using_decl() local 5169 USING_DECL_SCOPE (using_decl) = scope; in finish_nonmember_using_decl() 5170 add_decl_expr (using_decl); in finish_nonmember_using_decl()
|
H A D | cp-tree.def | 205 DEFTREECODE (USING_DECL, "using_decl", tcc_declaration, 0)
|
H A D | typeck.c | 2501 tree using_decl = NULL_TREE; in build_class_member_access_expr() local 2732 else if ((using_decl = strip_using_decl (member)) != member) in build_class_member_access_expr() 2734 using_decl, in build_class_member_access_expr()
|
H A D | pt.c | 29823 tree using_decl = build_lang_decl (USING_DECL, name, NULL_TREE); in test_type_dependent_expression_p() local 29824 TREE_TYPE (using_decl) = integer_type_node; in test_type_dependent_expression_p() 29825 ASSERT_TRUE (type_dependent_expression_p (using_decl)); in test_type_dependent_expression_p() 29826 tree wrapped_using_decl = maybe_wrap_with_location (using_decl, loc); in test_type_dependent_expression_p()
|