Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
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 …]
DASTStructExtractor.cpp123 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()
DClangExpressionDeclMap.cpp1729 NamedDecl *function_decl = nullptr; in AddOneFunction() local
1818 function_decl = context.AddFunDecl(copied_function_type, extern_c); in AddOneFunction()
1820 if (!function_decl) { in AddOneFunction()
1837 function_decl = context.AddGenericFunDecl(); in AddOneFunction()
1875 parser_vars->m_named_decl = function_decl; in AddOneFunction()
1889 ClangUtil::DumpDecl(function_decl)); in AddOneFunction()
DClangUserExpression.cpp218 } else if (clang::FunctionDecl *function_decl = in ScanContext() local
227 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
/freebsd-12-stable/contrib/gcc/
Ddebug.h86 void (* function_decl) (tree decl); member
Dtarget.h181 tree function_decl);
191 tree function_decl);
Dtree.h2484 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
3068 #define DECL_UNINLINABLE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable)
3077 #define DECL_IS_MALLOC(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag)
3082 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3086 #define DECL_IS_PURE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag)
3091 #define DECL_IS_NOVOPS(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_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)
[all …]
Dvmsdbgout.c1663 (*dwarf2_debug_hooks.function_decl) (decl); in vmsdbgout_decl()
Dfinal.c3959 (*debug_hooks->function_decl) (current_function_decl); in rest_of_handle_final()
Dtree.def349 DEFTREECODE (FUNCTION_DECL, "function_decl", tcc_declaration, 0)
DChangeLog.tree-ssa15089 * tree-alias-common.c (create_alias_var): Handle function_decl's
DChangeLog-200116998 * debug.h (struct gcc_debug_hooks): New hooks function_decl,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp1017 clang::FunctionDecl *function_decl = m_clang.CreateFunctionDeclaration( in GetOrCreateFunctionDecl() local
1021 m_uid_to_decl[toOpaqueUid(func_id)] = function_decl; in GetOrCreateFunctionDecl()
1025 m_decl_to_status.insert({function_decl, status}); in GetOrCreateFunctionDecl()
1027 CreateFunctionParameters(func_id, *function_decl, func_type->getNumParams()); in GetOrCreateFunctionDecl()
1029 return function_decl; in GetOrCreateFunctionDecl()
1033 clang::FunctionDecl &function_decl, in CreateFunctionParameters() argument
1086 &function_decl, OptionalClangModuleID(), param_name.str().c_str(), in CreateFunctionParameters()
1096 m_clang.SetFunctionParameters(&function_decl, params); in CreateFunctionParameters()
DPdbAstBuilder.h108 clang::FunctionDecl &function_decl,
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp1211 clang::FunctionDecl *function_decl = nullptr; in ParseSubroutine() local
1218 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>( in ParseSubroutine()
1221 if (function_decl) { in ParseSubroutine()
1222 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
1227 if (!function_decl) { in ParseSubroutine()
1243 function_decl = m_ast.CreateFunctionDeclaration( in ParseSubroutine()
1266 lldbassert(function_decl); in ParseSubroutine()
1268 if (function_decl) { in ParseSubroutine()
1269 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
1272 m_ast.SetFunctionParameters(function_decl, function_param_decls); in ParseSubroutine()
[all …]
/freebsd-12-stable/contrib/gcc/cp/
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()
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()
Dcp-tree.h658 tree function_decl; member
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-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.h367 GetAsDeclContext(clang::FunctionDecl *function_decl);
418 void SetFunctionParameters(clang::FunctionDecl *function_decl,
DTypeSystemClang.cpp2224 FunctionDecl *function_decl, llvm::ArrayRef<ParmVarDecl *> params) { in SetFunctionParameters() argument
2225 if (function_decl) in SetFunctionParameters()
2226 function_decl->setParams(params); in SetFunctionParameters()
9601 } else if (clang::FunctionDecl *function_decl = in DeclContextIsClassMethod() local
9603 ClangASTMetadata *metadata = GetMetadata(function_decl); in DeclContextIsClassMethod()