Home
last modified time | relevance | path

Searched refs:function_decl (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp89 } else if (FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D)) { in TransformTopLevelDecl() local
91 if (m_ast_context && function_decl->hasBody() && in TransformTopLevelDecl()
92 !function_decl->getNameInfo().getAsString().compare("$__lldb_expr")) { in TransformTopLevelDecl()
93 RecordPersistentTypes(function_decl); in TransformTopLevelDecl()
94 SynthesizeFunctionResult(function_decl); in TransformTopLevelDecl()
120 FunctionDecl *function_decl = FunDecl; in SynthesizeFunctionResult() local
122 if (!function_decl) in SynthesizeFunctionResult()
129 function_decl->print(os); in SynthesizeFunctionResult()
136 Stmt *function_body = function_decl->getBody(); in SynthesizeFunctionResult()
139 bool ret = SynthesizeBodyResult(compound_stmt, function_decl); in SynthesizeFunctionResult()
[all …]
H A DASTStructExtractor.cpp124 FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D); in ExtractFromTopLevelDecl() local
126 if (m_ast_context && function_decl && in ExtractFromTopLevelDecl()
128 function_decl->getNameAsString())) { in ExtractFromTopLevelDecl()
129 ExtractFromFunctionDecl(function_decl); in ExtractFromTopLevelDecl()
H A DClangExpressionDeclMap.cpp1948 NamedDecl *function_decl = NULL; in AddOneFunction() local
2044 function_decl = context.AddFunDecl(copied_function_type, extern_c); in AddOneFunction()
2046 if (!function_decl) { in AddOneFunction()
2068 function_decl = context.AddGenericFunDecl(); in AddOneFunction()
2107 parser_vars->m_named_decl = function_decl; in AddOneFunction()
2112 function_decl ? ASTDumper(function_decl).GetCString() : "nullptr"; in AddOneFunction()
H A DClangUserExpression.cpp196 } else if (clang::FunctionDecl *function_decl = in ScanContext() local
205 ClangASTContext::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
/freebsd-12.1/contrib/gcc/
H A Ddebug.h86 void (* function_decl) (tree decl); member
H A Dtarget.h181 tree function_decl);
191 tree function_decl);
H A Dtree.h2484 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
3082 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3096 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag)
3099 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag)
3104 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit)
3109 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_limit_stack)
3114 (FUNCTION_DECL_CHECK (NODE)->function_decl.regdecl_flag)
3120 FUNCTION_DECL_CHECK (DECL)->function_decl.possibly_inlined
3131 (FUNCTION_DECL_CHECK (NODE)->function_decl.declared_inline_flag)
3142 (FUNCTION_DECL_CHECK (NODE)->function_decl.built_in_class)
[all …]
H A Dvmsdbgout.c1663 (*dwarf2_debug_hooks.function_decl) (decl); in vmsdbgout_decl()
H A Dfinal.c3959 (*debug_hooks->function_decl) (current_function_decl); in rest_of_handle_final()
H A Dtree.def349 DEFTREECODE (FUNCTION_DECL, "function_decl", tcc_declaration, 0)
H A DChangeLog.tree-ssa15089 * tree-alias-common.c (create_alias_var): Handle function_decl's
H A DChangeLog-200116998 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1009 clang::FunctionDecl *function_decl = m_clang.CreateFunctionDeclaration( in GetOrCreateFunctionDecl() local
1013 m_uid_to_decl[toOpaqueUid(func_id)] = function_decl; in GetOrCreateFunctionDecl()
1017 m_decl_to_status.insert({function_decl, status}); in GetOrCreateFunctionDecl()
1019 CreateFunctionParameters(func_id, *function_decl, func_type->getNumParams()); in GetOrCreateFunctionDecl()
1021 return function_decl; in GetOrCreateFunctionDecl()
1025 clang::FunctionDecl &function_decl, in CreateFunctionParameters() argument
1078 &function_decl, param_name.str().c_str(), param_type_ct, in CreateFunctionParameters()
1088 m_clang.SetFunctionParameters(&function_decl, params.data(), params.size()); in CreateFunctionParameters()
H A DPdbAstBuilder.h110 clang::FunctionDecl &function_decl,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1595 clang::FunctionDecl *function_decl = nullptr; in ParseTypeFromDWARF() local
1607 if (function_decl) { in ParseTypeFromDWARF()
1608 LinkDeclContextToDIE(function_decl, die); in ParseTypeFromDWARF()
1613 if (!function_decl) { in ParseTypeFromDWARF()
1615 function_decl = m_ast.CreateFunctionDeclaration( in ParseTypeFromDWARF()
1631 lldbassert(function_decl); in ParseTypeFromDWARF()
1633 if (function_decl) { in ParseTypeFromDWARF()
1634 LinkDeclContextToDIE(function_decl, die); in ParseTypeFromDWARF()
1637 m_ast.SetFunctionParameters(function_decl, in ParseTypeFromDWARF()
1650 static_cast<void *>(function_decl)); in ParseTypeFromDWARF()
[all …]
/freebsd-12.1/contrib/gcc/cp/
H A Dtree.c2121 if (s->function_decl && s->function_decl != prev_fn) in cp_add_pending_fn_decls()
2123 VARRAY_PUSH_TREE (*fnsp, s->function_decl); in cp_add_pending_fn_decls()
2124 prev_fn = s->function_decl; in cp_add_pending_fn_decls()
H A Dname-lookup.c1841 tree function_decl = current_function_decl; in pushdecl_with_scope() local
1859 current_function_decl = function_decl; in pushdecl_with_scope()
5113 s->function_decl = current_function_decl; in push_to_top_level()
5154 current_function_decl = s->function_decl; in pop_from_top_level()
H A Dcp-tree.h658 tree function_decl; member
H A DChangeLog-19992392 * cp-tree.h (saved_scope): Add function_decl, bindings.
2408 (mark_saved_scope): Mark function_decl and bindings.
2502 function_decl. Tidy up.
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/
H A DClangASTContext.h412 void SetFunctionParameters(clang::FunctionDecl *function_decl,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2230 void ClangASTContext::SetFunctionParameters(FunctionDecl *function_decl, in SetFunctionParameters() argument
2233 if (function_decl) in SetFunctionParameters()
2234 function_decl->setParams(ArrayRef<ParmVarDecl *>(params, num_params)); in SetFunctionParameters()
10240 } else if (clang::FunctionDecl *function_decl = in DeclContextIsClassMethod() local
10243 GetMetadata(&decl_ctx->getParentASTContext(), function_decl); in DeclContextIsClassMethod()