Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A 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 …]
H A 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()
H A DClangExpressionDeclMap.cpp1801 NamedDecl *function_decl = nullptr; in AddOneFunction() local
1890 function_decl = context.AddFunDecl(copied_function_type, extern_c); in AddOneFunction()
1892 if (!function_decl) { in AddOneFunction()
1909 function_decl = context.AddGenericFunDecl(); in AddOneFunction()
1947 parser_vars->m_named_decl = function_decl; in AddOneFunction()
1961 ClangUtil::DumpDecl(function_decl)); in AddOneFunction()
H A DClangUserExpression.cpp214 } else if (clang::FunctionDecl *function_decl = in ScanContext() local
223 TypeSystemClang::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp39 clang::FunctionDecl *&function_decl, in CreateMethodDecl()
43 function_decl(function_decl), parent_ty(parent_ty), in CreateMethodDecl()
48 clang::FunctionDecl *&function_decl; member
82 if (name != proc_name || function_decl) in AddMethod()
89 function_decl = m_clang.AddMethodToCXXRecordType( in AddMethod()
857 clang::FunctionDecl *function_decl = nullptr; in CreateFunctionDecl()
897 CreateMethodDecl process(index, m_clang, func_ti, function_decl, in CreateFunctionDecl()
903 if (!function_decl) { in CreateFunctionDecl()
904 function_decl in CreateFunctionDecl()
856 clang::FunctionDecl *function_decl = nullptr; CreateFunctionDecl() local
938 clang::FunctionDecl *function_decl = GetOrCreateInlinedFunctionDecl() local
1051 clang::FunctionDecl *function_decl = GetOrCreateFunctionDecl() local
1068 CreateFunctionParameters(PdbCompilandSymId func_id,clang::FunctionDecl & function_decl,uint32_t param_count) CreateFunctionParameters() argument
[all...]
H A DPdbAstBuilder.h112 clang::FunctionDecl &function_decl,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1273 clang::FunctionDecl *function_decl = nullptr; in ParseSubroutine() local
1280 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>( in ParseSubroutine()
1283 if (function_decl) { in ParseSubroutine()
1284 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
1289 if (!function_decl) { in ParseSubroutine()
1305 function_decl = m_ast.CreateFunctionDeclaration( in ParseSubroutine()
1328 lldbassert(function_decl); in ParseSubroutine()
1330 if (function_decl) { in ParseSubroutine()
1342 function_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in ParseSubroutine()
1345 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h446 GetAsDeclContext(clang::FunctionDecl *function_decl);
493 void SetFunctionParameters(clang::FunctionDecl *function_decl,
H A DTypeSystemClang.cpp2221 FunctionDecl *function_decl, llvm::ArrayRef<ParmVarDecl *> params) { in SetFunctionParameters() argument
2222 if (function_decl) in SetFunctionParameters()
2223 function_decl->setParams(params); in SetFunctionParameters()