Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp90 } 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 …]
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.cpp1818 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()
DClangUserExpression.cpp215 } 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/
DPdbAstBuilder.cpp38 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 …]
DPdbAstBuilder.h112 clang::FunctionDecl &function_decl,
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dtarget.h131 tree function_decl));
142 tree function_decl));
Ddebug.h86 void (* function_decl) PARAMS ((tree decl)); member
Dvmsdbgout.c1697 (*dwarf2_debug_hooks.function_decl) (decl);
Dtoplev.c3710 (*debug_hooks->function_decl) (decl);
/openbsd/src/gnu/gcc/gcc/
Ddebug.h86 void (* function_decl) (tree decl); member
Dtarget.h181 tree function_decl);
191 tree function_decl);
Dtree.h2998 #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 …]
Dvmsdbgout.c1663 (*dwarf2_debug_hooks.function_decl) (decl); in vmsdbgout_decl()
Dfinal.c3953 (*debug_hooks->function_decl) (current_function_decl); in rest_of_handle_final()
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp1190 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/
Dtree.c2104 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()
Dname-lookup.c1844 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/
Dtree.c2208 if (s->function_decl && s->function_decl != prev_fn)
2210 VARRAY_PUSH_TREE (*fnsp, s->function_decl);
2211 prev_fn = s->function_decl;
Ddecl.c2704 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/
DTypeSystemClang.h378 GetAsDeclContext(clang::FunctionDecl *function_decl);
425 void SetFunctionParameters(clang::FunctionDecl *function_decl,
DTypeSystemClang.cpp2262 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/
Dparse.h767 tree function_decl; /* Current function decl, save/restore */ member
Dparse.y2765 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);
Dparse.c6330 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);

12