Home
last modified time | relevance | path

Searched refs:using_decl (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dclass.cc1352 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 Dname-lookup.cc5745 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 Dcp-tree.def207 DEFTREECODE (USING_DECL, "using_decl", tcc_declaration, 0)
H A Dtypeck.cc2669 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 DChangeLog-20051873 * cp-tree.h (add_method): Add using_decl parameter.
1874 * class.c (add_method): Add using_decl parameter. Adjust error
H A Dpt.cc31024 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 DChangeLog-1994226 (using_decl): New rule for using declarations.
230 (component_decl): Add using_decl.
H A DChangeLog-2016620 (add_implicitly_declared_members): Pass using_decl down.
H A DChangeLog-19951668 * parse.y (lang_extdef, using_decl, extdef): Likewise.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dclass.c1267 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 Dname-lookup.c4761 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 Dcp-tree.def205 DEFTREECODE (USING_DECL, "using_decl", tcc_declaration, 0)
H A Dtypeck.c2501 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 Dpt.c29823 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()