Home
last modified time | relevance | path

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

/openbsd-src/gnu/gcc/gcc/cp/
H A Dclass.c902 add_method (tree type, tree method, tree using_decl) in add_method() argument
1052 if (using_decl) in add_method()
1058 error ("repeated using declaration %q+D", using_decl); in add_method()
1061 using_decl); in add_method()
1159 handle_using_decl (tree using_decl, tree t) in handle_using_decl() argument
1161 tree decl = USING_DECL_DECLS (using_decl); in handle_using_decl()
1162 tree name = DECL_NAME (using_decl); in handle_using_decl()
1164 = TREE_PRIVATE (using_decl) ? access_private_node in handle_using_decl()
1165 : TREE_PROTECTED (using_decl) ? access_protected_node in handle_using_decl()
1184 cp_emit_debug_info_for_using (decl, USING_DECL_SCOPE (using_decl)); in handle_using_decl()
[all …]
H A Dcp-tree.def200 DEFTREECODE (USING_DECL, "using_decl", tcc_declaration, 0)
H A DChangeLog5388 * cp-tree.h (add_method): Add using_decl parameter.
5389 * class.c (add_method): Add using_decl parameter. Adjust error
H A DChangeLog-1994226 (using_decl): New rule for using declarations.
230 (component_decl): Add using_decl.
H A DChangeLog-19951668 * parse.y (lang_extdef, using_decl, extdef): Likewise.
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dclass.c1168 handle_using_decl (using_decl, t) in handle_using_decl() argument
1169 tree using_decl; in handle_using_decl()
1172 tree ctype = DECL_INITIAL (using_decl);
1173 tree name = DECL_NAME (using_decl);
1175 = TREE_PRIVATE (using_decl) ? access_private_node
1176 : TREE_PROTECTED (using_decl) ? access_protected_node
1194 cp_error_at ("`%D' names constructor", using_decl);
1199 cp_error_at ("`%D' invalid in `%T'", using_decl, t);
1207 cp_error_at ("no members matching `%D' in `%#T'", using_decl, ctype);
1239 cp_error_at ("`%D' invalid in `%#T'", using_decl, t);
[all …]
H A Dparse.y459 %type <ttype> using_decl
564 | using_decl ';'
583 using_decl:
2735 | using_decl
H A Dcp-tree.def205 DEFTREECODE (USING_DECL, "using_decl", 'd', 0)
H A DChangeLog.11317 * parse.y (lang_extdef, using_decl, extdef): Likewise.
3666 (using_decl): New rule for using declarations.
3670 (component_decl): Add using_decl.
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1989 clang::UsingDirectiveDecl *using_decl = clang::UsingDirectiveDecl::Create( in CreateUsingDirectiveDeclaration() local
1995 decl_ctx->addDecl(using_decl); in CreateUsingDirectiveDeclaration()
1996 SetOwningModule(using_decl, owning_module); in CreateUsingDirectiveDeclaration()
1997 return using_decl; in CreateUsingDirectiveDeclaration()
2007 clang::UsingDecl *using_decl = clang::UsingDecl::Create( in CreateUsingDeclaration() local
2010 SetOwningModule(using_decl, owning_module); in CreateUsingDeclaration()
2013 target->getDeclName(), using_decl, target); in CreateUsingDeclaration()
2015 using_decl->addShadowDecl(shadow_decl); in CreateUsingDeclaration()
2016 current_decl_ctx->addDecl(using_decl); in CreateUsingDeclaration()
2017 return using_decl; in CreateUsingDeclaration()