/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTResultSynthesizer.cpp | 90 } else if (FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D)) { in TransformTopLevelDecl() local 92 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl() 93 !function_decl->getNameInfo().getAsString().compare("$__lldb_expr")) { in TransformTopLevelDecl() 94 RecordPersistentTypes(function_decl); in TransformTopLevelDecl() 95 SynthesizeFunctionResult(function_decl); in TransformTopLevelDecl() 121 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult() local 123 if (!function_decl) in SynthesizeFunctionResult() 130 function_decl->print(os); in SynthesizeFunctionResult() 137 Stmt *function_body = function_decl->getBody(); in SynthesizeFunctionResult() 140 bool ret = SynthesizeBodyResult(compound_stmt, function_decl); in SynthesizeFunctionResult() [all …]
|
H A D | ASTStructExtractor.cpp | 123 FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D); in ExtractFromTopLevelDecl() local 125 if (m_ast_context && function_decl && in ExtractFromTopLevelDecl() 127 function_decl->getNameAsString())) { in ExtractFromTopLevelDecl() 128 ExtractFromFunctionDecl(function_decl); in ExtractFromTopLevelDecl()
|
H A D | ClangExpressionDeclMap.cpp | 1818 NamedDecl *function_decl = nullptr; in AddOneFunction() local 1907 function_decl = context.AddFunDecl(copied_function_type, extern_c); in AddOneFunction() 1909 if (!function_decl) { in AddOneFunction() 1926 function_decl = context.AddGenericFunDecl(); in AddOneFunction() 1964 parser_vars->m_named_decl = function_decl; in AddOneFunction() 1978 ClangUtil::DumpDecl(function_decl)); in AddOneFunction()
|
H A D | ClangUserExpression.cpp | 215 } else if (clang::FunctionDecl *function_decl = in ScanContext() local 224 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbAstBuilder.cpp | 38 clang::FunctionDecl *&function_decl, in CreateMethodDecl() 42 function_decl(function_decl), parent_ty(parent_ty), in CreateMethodDecl() 47 clang::FunctionDecl *&function_decl; member 81 if (name != proc_name || function_decl) in AddMethod() 88 function_decl = m_clang.AddMethodToCXXRecordType( in AddMethod() 855 clang::FunctionDecl *function_decl = nullptr; in CreateFunctionDecl() local 895 CreateMethodDecl process(index, m_clang, func_ti, function_decl, in CreateFunctionDecl() 901 if (!function_decl) { in CreateFunctionDecl() 902 function_decl = m_clang.AddMethodToCXXRecordType( in CreateFunctionDecl() 912 function_decl = m_clang.CreateFunctionDeclaration( in CreateFunctionDecl() [all …]
|
H A D | PdbAstBuilder.h | 112 clang::FunctionDecl &function_decl,
|
/openbsd-src/gnu/usr.bin/gcc/gcc/ |
H A D | target.h | 131 tree function_decl)); 142 tree function_decl));
|
H A D | debug.h | 86 void (* function_decl) PARAMS ((tree decl)); member
|
H A D | vmsdbgout.c | 1697 (*dwarf2_debug_hooks.function_decl) (decl);
|
H A D | toplev.c | 3710 (*debug_hooks->function_decl) (decl);
|
/openbsd-src/gnu/gcc/gcc/ |
H A D | debug.h | 86 void (* function_decl) (tree decl); member
|
H A D | target.h | 181 tree function_decl); 191 tree function_decl);
|
H A D | tree.h | 2998 #define DECL_UNINLINABLE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable) 3007 #define DECL_IS_MALLOC(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag) 3012 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag) 3016 #define DECL_IS_PURE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag) 3021 #define DECL_IS_NOVOPS(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_flag) 3026 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag) 3029 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag) 3034 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit) 3039 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_limit_stack) 3044 (FUNCTION_DECL_CHECK (NODE)->function_decl.regdecl_flag) [all …]
|
H A D | vmsdbgout.c | 1663 (*dwarf2_debug_hooks.function_decl) (decl); in vmsdbgout_decl()
|
H A D | final.c | 3953 (*debug_hooks->function_decl) (current_function_decl); in rest_of_handle_final()
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.cpp | 1190 clang::FunctionDecl *function_decl = nullptr; in ParseSubroutine() local 1197 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>( in ParseSubroutine() 1200 if (function_decl) { in ParseSubroutine() 1201 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine() 1206 if (!function_decl) { in ParseSubroutine() 1222 function_decl = m_ast.CreateFunctionDeclaration( in ParseSubroutine() 1245 lldbassert(function_decl); in ParseSubroutine() 1247 if (function_decl) { in ParseSubroutine() 1259 function_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in ParseSubroutine() 1262 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine() [all …]
|
/openbsd-src/gnu/gcc/gcc/cp/ |
H A D | tree.c | 2104 if (s->function_decl && s->function_decl != prev_fn) in cp_add_pending_fn_decls() 2106 VARRAY_PUSH_TREE (*fnsp, s->function_decl); in cp_add_pending_fn_decls() 2107 prev_fn = s->function_decl; in cp_add_pending_fn_decls()
|
H A D | name-lookup.c | 1844 tree function_decl = current_function_decl; in pushdecl_with_scope() local 1862 current_function_decl = function_decl; in pushdecl_with_scope() 5057 s->function_decl = current_function_decl; in push_to_top_level() 5098 current_function_decl = s->function_decl; in pop_from_top_level()
|
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/ |
H A D | tree.c | 2208 if (s->function_decl && s->function_decl != prev_fn) 2210 VARRAY_PUSH_TREE (*fnsp, s->function_decl); 2211 prev_fn = s->function_decl;
|
H A D | decl.c | 2704 s->function_decl = current_function_decl; 2749 current_function_decl = s->function_decl; in pop_from_top_level() 4550 tree function_decl = current_function_decl; local 4569 current_function_decl = function_decl;
|
/openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.h | 378 GetAsDeclContext(clang::FunctionDecl *function_decl); 425 void SetFunctionParameters(clang::FunctionDecl *function_decl,
|
H A D | TypeSystemClang.cpp | 2262 FunctionDecl *function_decl, llvm::ArrayRef<ParmVarDecl *> params) { in SetFunctionParameters() argument 2263 if (function_decl) in SetFunctionParameters() 2264 function_decl->setParams(params); in SetFunctionParameters() 9780 } else if (clang::FunctionDecl *function_decl = in DeclContextIsClassMethod() local 9782 ClangASTMetadata *metadata = GetMetadata(function_decl); in DeclContextIsClassMethod()
|
/openbsd-src/gnu/usr.bin/gcc/gcc/java/ |
H A D | parse.h | 767 tree function_decl; /* Current function decl, save/restore */ member
|
H A D | parse.c | 6330 ctxp->function_decl = current_function_decl; in java_parser_context_save_global() 6349 current_function_decl = ctxp->function_decl; in java_parser_context_restore_global() 6368 ctxp->function_decl = current_function_decl; in java_parser_context_suspend() 6398 current_function_decl = saver->function_decl; in java_parser_context_resume() 19918 ggc_mark_tree (pc->function_decl);
|
H A D | parse.y | 2765 ctxp->function_decl = current_function_decl; in java_parser_context_save_global() 2784 current_function_decl = ctxp->function_decl; in java_parser_context_restore_global() 2803 ctxp->function_decl = current_function_decl; in java_parser_context_suspend() 2833 current_function_decl = saver->function_decl; in java_parser_context_resume() 16353 ggc_mark_tree (pc->function_decl);
|