Home
last modified time | relevance | path

Searched refs:function_decl (Results 1 – 8 of 8) 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() == "$__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()
135 Stmt *function_body = function_decl->getBody(); in SynthesizeFunctionResult()
138 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()
126 m_function.m_wrapper_function_name == function_decl->getNameAsString()) { in ExtractFromTopLevelDecl()
127 ExtractFromFunctionDecl(function_decl); in ExtractFromTopLevelDecl()
H A DClangExpressionDeclMap.cpp1800 NamedDecl *function_decl = nullptr; in AddOneFunction() local
1889 function_decl = context.AddFunDecl(copied_function_type, extern_c); in AddOneFunction()
1891 if (!function_decl) { in AddOneFunction()
1908 function_decl = context.AddGenericFunDecl(); in AddOneFunction()
1946 parser_vars->m_named_decl = function_decl; in AddOneFunction()
1960 ClangUtil::DumpDecl(function_decl)); in AddOneFunction()
H A DClangUserExpression.cpp214 } else if (clang::FunctionDecl *function_decl = in ScanContext() local
224 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() local
897 CreateMethodDecl process(index, m_clang, func_ti, function_decl, in CreateFunctionDecl()
903 if (!function_decl) { in CreateFunctionDecl()
904 function_decl = m_clang.AddMethodToCXXRecordType( in CreateFunctionDecl()
914 function_decl = m_clang.CreateFunctionDeclaration( in CreateFunctionDecl()
[all …]
H A DPdbAstBuilder.h112 clang::FunctionDecl &function_decl,
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1351 clang::FunctionDecl *function_decl = nullptr; in ParseSubroutine() local
1358 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>( in ParseSubroutine()
1361 if (function_decl) { in ParseSubroutine()
1362 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
1367 if (!function_decl) { in ParseSubroutine()
1383 function_decl = m_ast.CreateFunctionDeclaration( in ParseSubroutine()
1406 lldbassert(function_decl); in ParseSubroutine()
1408 if (function_decl) { in ParseSubroutine()
1420 function_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in ParseSubroutine()
1423 LinkDeclContextToDIE(function_decl, die); in ParseSubroutine()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h448 GetAsDeclContext(clang::FunctionDecl *function_decl);