/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | ASTResultSynthesizer.cpp | 90 } 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() 135 Stmt *function_body = function_decl->getBody(); in SynthesizeFunctionResult() 138 bool ret = SynthesizeBodyResult(compound_stmt, function_decl); in SynthesizeFunctionResult() [all...] |
H A D | ASTStructExtractor.cpp | 123 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 D | ClangExpressionDeclMap.cpp | 1801 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 D | ClangUserExpression.cpp | 214 } else if (clang::FunctionDecl *function_decl = in ScanContext() local 224 function_decl); in ScanContext()
|
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbAstBuilder.cpp | 39 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 in CreateFunctionDecl() 939 clang::FunctionDecl *function_decl = GetOrCreateInlinedFunctionDecl() local 1052 clang::FunctionDecl *function_decl = GetOrCreateFunctionDecl() local 1069 CreateFunctionParameters(PdbCompilandSymId func_id,clang::FunctionDecl & function_decl,uint32_t param_count) CreateFunctionParameters() argument [all...] |
H A D | PdbAstBuilder.h | 112 clang::FunctionDecl &function_decl,
|
/llvm-project/clang/test/CodeGen/ |
H A D | 2005-09-24-BitFieldCrash.c | 25 struct tree_function_decl function_decl; member 30 decl->function_decl.built_in_class != 0; in foo()
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.cpp | 1343 clang::FunctionDecl *function_decl = nullptr; in ParseArrayType() 1350 function_decl = llvm::dyn_cast_or_null<clang::FunctionDecl>( in ParseArrayType() 1353 if (function_decl) { in ParseArrayType() 1354 LinkDeclContextToDIE(function_decl, die); in ParseArrayType() 1359 if (!function_decl) { in ParseArrayType() 1375 function_decl = m_ast.CreateFunctionDeclaration( in ParseArrayType() 1398 lldbassert(function_decl); in ParsePointerToMemberType() 1400 if (function_decl) { in ParsePointerToMemberType() 1412 function_decl->addAttr(clang::AsmLabelAttr::CreateImplicit( in ParsePointerToMemberType() 1415 LinkDeclContextToDIE(function_decl, di in ParsePointerToMemberType() 1239 clang::FunctionDecl *function_decl = nullptr; ParseSubroutine() local [all...] |
/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.h | 446 GetAsDeclContext(clang::FunctionDecl *function_decl);
|
H A D | TypeSystemClang.cpp | 2221 SetFunctionParameters(FunctionDecl * function_decl,llvm::ArrayRef<ParmVarDecl * > params) SetFunctionParameters() argument
|
/llvm-project/llvm/test/Transforms/Attributor/ |
H A D | nonnull.ll | 1505 declare ptr @function_decl() 1510 ; CHECK-NEXT: ret ptr @function_decl 1512 ret ptr @function_decl
|