Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.bin/gcc/gcc/treelang/
H A Dtreetree.c516 tree var_decl; in tree_code_create_variable() local
528 var_decl = build_decl (VAR_DECL, var_id, var_type); in tree_code_create_variable()
532 DECL_INITIAL (var_decl) = build1 (CONVERT_EXPR, var_type, init); in tree_code_create_variable()
534 DECL_INITIAL (var_decl) = NULL_TREE; in tree_code_create_variable()
537 layout_decl (var_decl, 0); in tree_code_create_variable()
542 DECL_CONTEXT (var_decl) = current_function_decl; in tree_code_create_variable()
544 DECL_SOURCE_FILE (var_decl) = (const char *)filename; in tree_code_create_variable()
545 DECL_SOURCE_LINE (var_decl) = lineno; in tree_code_create_variable()
551 TREE_STATIC (var_decl) = 1; in tree_code_create_variable()
552 TREE_PUBLIC (var_decl) = 0; in tree_code_create_variable()
[all …]
/openbsd-src/gnu/gcc/gcc/treelang/
H A Dtreetree.c513 tree var_decl; in tree_code_create_variable() local
524 var_decl = build_decl (VAR_DECL, var_id, var_type); in tree_code_create_variable()
528 DECL_INITIAL (var_decl) = fold_convert (var_type, init); in tree_code_create_variable()
530 DECL_INITIAL (var_decl) = NULL_TREE; in tree_code_create_variable()
534 DECL_CONTEXT (var_decl) = current_function_decl; in tree_code_create_variable()
536 DECL_SOURCE_LOCATION (var_decl) = loc; in tree_code_create_variable()
538 DECL_EXTERNAL (var_decl) = 0; in tree_code_create_variable()
539 TREE_PUBLIC (var_decl) = 0; in tree_code_create_variable()
540 TREE_STATIC (var_decl) = 0; in tree_code_create_variable()
545 TREE_STATIC (var_decl) = 1; in tree_code_create_variable()
[all …]
H A DChangeLog245 TREE_PUBLIC, and TREE_STATIC for var_decl to zero. Don't call
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1589 NamedDecl *var_decl = nullptr; in AddExpressionVariable() local
1591 var_decl = context.AddVarDecl(pt); in AddExpressionVariable()
1593 var_decl = context.AddVarDecl(pt.GetLValueReferenceType()); in AddExpressionVariable()
1605 parser_vars->m_named_decl = var_decl; in AddExpressionVariable()
1704 NamedDecl *var_decl = in AddOneVariable() local
1712 parser_vars->m_named_decl = var_decl; in AddOneVariable()
1717 pvar_sp->GetName(), ClangUtil::DumpDecl(var_decl)); in AddOneVariable()
1741 NamedDecl *var_decl = context.AddVarDecl(parser_type); in AddOneGenericVariable() local
1764 parser_vars->m_named_decl = var_decl; in AddOneGenericVariable()
1769 ClangUtil::DumpDecl(var_decl)); in AddOneGenericVariable()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2026 clang::VarDecl *var_decl = in CreateVariableDeclaration() local
2028 var_decl->setDeclContext(decl_context); in CreateVariableDeclaration()
2030 var_decl->setDeclName(&getASTContext().Idents.getOwn(name)); in CreateVariableDeclaration()
2031 var_decl->setType(type); in CreateVariableDeclaration()
2032 SetOwningModule(var_decl, owning_module); in CreateVariableDeclaration()
2033 var_decl->setAccess(clang::AS_public); in CreateVariableDeclaration()
2034 decl_context->addDecl(var_decl); in CreateVariableDeclaration()
2035 return var_decl; in CreateVariableDeclaration()
7619 clang::VarDecl *var_decl = nullptr; in AddVariableToRecordType() local
7624 var_decl = clang::VarDecl::CreateDeserialized(ast->getASTContext(), 0); in AddVariableToRecordType()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp676 clang::VarDecl *var_decl = m_clang.CreateVariableDeclaration( in CreateVariableDecl() local
679 m_uid_to_decl[toOpaqueUid(uid)] = var_decl; in CreateVariableDecl()
683 m_decl_to_status.insert({var_decl, status}); in CreateVariableDecl()
684 return var_decl; in CreateVariableDecl()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtree.def338 DEFTREECODE (VAR_DECL, "var_decl", 'd', 0)
381 Operand 1: the vtable base (must be a var_decl)
/openbsd-src/gnu/usr.bin/gcc/gcc/objc/
H A Dobjc-act.c2024 tree decl = NULL_TREE, var_decl, name; in build_selector_translation_table() local
2067 var_decl = name; in build_selector_translation_table()
2071 decl = start_decl (var_decl, decl_specs, 1, NULL_TREE ); in build_selector_translation_table()
/openbsd-src/gnu/gcc/gcc/
H A Dtree.def351 DEFTREECODE (VAR_DECL, "var_decl", tcc_declaration, 0)
H A Dtree.h3198 struct tree_var_decl GTY ((tag ("TS_VAR_DECL"))) var_decl;