Lines Matching refs:FuncDecl
388 if (const auto *FuncDecl = dyn_cast<FunctionDecl>(DeclCtx)) { in initialize() local
389 assert(FuncDecl->doesThisDeclarationHaveABody()); in initialize()
391 initFieldsGlobalsAndFuncs(FuncDecl); in initialize()
393 for (const auto *ParamDecl : FuncDecl->parameters()) { in initialize()
428 void Environment::initFieldsGlobalsAndFuncs(const FunctionDecl *FuncDecl) { in initFieldsGlobalsAndFuncs() argument
429 assert(FuncDecl->doesThisDeclarationHaveABody()); in initFieldsGlobalsAndFuncs()
437 if (const auto *CtorDecl = dyn_cast<CXXConstructorDecl>(FuncDecl)) { in initFieldsGlobalsAndFuncs()
454 getFieldsGlobalsAndFuncs(*FuncDecl->getBody(), Fields, Vars, Funcs); in initFieldsGlobalsAndFuncs()
516 void Environment::pushCallInternal(const FunctionDecl *FuncDecl, in pushCallInternal() argument
521 assert(FuncDecl->getDefinition() != nullptr); in pushCallInternal()
522 FuncDecl = FuncDecl->getDefinition(); in pushCallInternal()
524 CallStack.push_back(FuncDecl); in pushCallInternal()
526 initFieldsGlobalsAndFuncs(FuncDecl); in pushCallInternal()
528 const auto *ParamIt = FuncDecl->param_begin(); in pushCallInternal()
533 assert(ParamIt != FuncDecl->param_end()); in pushCallInternal()