Searched refs:function_decl (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp123 FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D); local
125 if (m_ast_context && function_decl &&
127 function_decl->getNameAsString())) {
128 ExtractFromFunctionDecl(function_decl);
H A DASTResultSynthesizer.cpp89 } else if (FunctionDecl *function_decl = dyn_cast<FunctionDecl>(D)) {
91 if (m_ast_context && function_decl->hasBody() &&
92 !function_decl->getNameInfo().getAsString().compare("$__lldb_expr")) {
93 RecordPersistentTypes(function_decl);
94 SynthesizeFunctionResult(function_decl);
120 FunctionDecl *function_decl = FunDecl;
122 if (!function_decl)
129 function_decl->print(os);
136 Stmt *function_body = function_decl->getBody();
139 bool ret = SynthesizeBodyResult(compound_stmt, function_decl);
[all...]
H A DClangExpressionDeclMap.cpp1765 NamedDecl *function_decl = nullptr; local
1858 function_decl = context.AddFunDecl(copied_function_type, extern_c);
1860 if (!function_decl) {
1884 function_decl = context.AddGenericFunDecl();
1923 parser_vars->m_named_decl = function_decl;
1937 ss.GetData(), ClangUtil::DumpDecl(function_decl));
H A DClangUserExpression.cpp218 } else if (clang::FunctionDecl *function_decl =
227 ClangASTContext::DeclContextGetMetaData(decl_context, function_decl);
/freebsd-11-stable/contrib/gcc/
H A Ddebug.h86 void (* function_decl) (tree decl); member in struct:gcc_debug_hooks
H A Dtarget.h181 tree function_decl);
191 tree function_decl);
H A Dtree.h2497 (FUNCTION_DECL_CHECK (NODE)->function_decl.function_code)
3081 #define DECL_UNINLINABLE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.uninlinable)
3090 #define DECL_IS_MALLOC(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.malloc_flag)
3095 (FUNCTION_DECL_CHECK (NODE)->function_decl.returns_twice_flag)
3099 #define DECL_IS_PURE(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.pure_flag)
3104 #define DECL_IS_NOVOPS(NODE) (FUNCTION_DECL_CHECK (NODE)->function_decl.novops_flag)
3109 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_ctor_flag)
3112 (FUNCTION_DECL_CHECK (NODE)->function_decl.static_dtor_flag)
3117 (FUNCTION_DECL_CHECK (NODE)->function_decl.no_instrument_function_entry_exit)
3122 (FUNCTION_DECL_CHECK (NODE)->function_decl
[all...]
H A Dvmsdbgout.c1665 (*dwarf2_debug_hooks.function_decl) (decl);
H A Dfinal.c3979 (*debug_hooks->function_decl) (current_function_decl);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp1014 clang::FunctionDecl *function_decl = m_clang.CreateFunctionDeclaration( local
1018 m_uid_to_decl[toOpaqueUid(func_id)] = function_decl;
1022 m_decl_to_status.insert({function_decl, status});
1024 CreateFunctionParameters(func_id, *function_decl, func_type->getNumParams());
1026 return function_decl;
1030 clang::FunctionDecl &function_decl,
1083 &function_decl, param_name.str().c_str(), param_type_ct,
1093 m_clang.SetFunctionParameters(&function_decl, params.data(), params.size());
1029 CreateFunctionParameters(PdbCompilandSymId func_id, clang::FunctionDecl &function_decl, uint32_t param_count) argument
H A DPdbAstBuilder.h108 clang::FunctionDecl &function_decl,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1155 clang::FunctionDecl *function_decl = nullptr; local
1162 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>(
1165 if (function_decl) {
1166 LinkDeclContextToDIE(function_decl, die);
1171 if (!function_decl) {
1173 function_decl = m_ast.CreateFunctionDeclaration(
1192 function_decl, func_template_decl, template_param_infos);
1195 lldbassert(function_decl);
1197 if (function_decl) {
1198 LinkDeclContextToDIE(function_decl, di
[all...]
/freebsd-11-stable/contrib/gcc/cp/
H A Dtree.c2128 if (s->function_decl && s->function_decl != prev_fn)
2130 VARRAY_PUSH_TREE (*fnsp, s->function_decl);
2131 prev_fn = s->function_decl;
H A Dname-lookup.c1844 tree function_decl = current_function_decl;
1862 current_function_decl = function_decl;
5119 s->function_decl = current_function_decl;
5160 current_function_decl = s->function_decl;
1841 tree function_decl = current_function_decl; local
H A Dcp-tree.h660 tree function_decl;
658 tree function_decl; local
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DClangASTContext.h302 GetAsDeclContext(clang::FunctionDecl *function_decl);
358 void SetFunctionParameters(clang::FunctionDecl *function_decl,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangASTContext.cpp1949 void ClangASTContext::SetFunctionParameters(FunctionDecl *function_decl, argument
1952 if (function_decl)
1953 function_decl->setParams(ArrayRef<ParmVarDecl *>(params, num_params));
9153 } else if (clang::FunctionDecl *function_decl =
9155 ClangASTMetadata *metadata = GetMetadata(function_decl);

Completed in 214 milliseconds