Lines Matching defs:Decl
84 Decl *decl = DG.getSingleDecl();
218 if (const Decl *FD = CE->getCalleeDecl()) {
312 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin();
429 Sema::ActOnIfStmt(SourceLocation IfLoc, FullExprArg CondVal, Decl *CondVar,
568 Decl *CondVar) {
1166 Decl *CondVar, Stmt *Body) {
1520 Stmt *First, FullExprArg second, Decl *secondVar,
1739 static bool FinishForRangeVarDecl(Sema &SemaRef, VarDecl *Decl, Expr *Init,
1745 SemaRef.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) ==
1749 Decl->setInvalidDecl();
1752 Decl->setType(InitType);
1758 SemaRef.inferObjCARCLifetime(Decl))
1759 Decl->setInvalidDecl();
1761 SemaRef.AddInitializerToDecl(Decl, Init, /*DirectInit=*/false,
1763 SemaRef.FinalizeDeclaration(Decl);
1764 SemaRef.CurContext->addHiddenDecl(Decl);
1802 VarDecl *Decl = VarDecl::Create(SemaRef.Context, DC, Loc, Loc, II, Type,
1804 Decl->setImplicit();
1805 return Decl;
1851 Decl *LoopVar = DS->getSingleDecl();
1871 BuildDeclaratorGroup(llvm::MutableArrayRef<Decl *>((Decl **)&RangeVar, 1),
2009 InvalidateOnErrorScope(Sema &SemaRef, Decl *D, bool Enabled)
2017 Decl *D;
2185 Decl *BeginEndDecls[] = { BeginVar, EndVar };
2188 BuildDeclaratorGroup(llvm::MutableArrayRef<Decl *>(BeginEndDecls, 2),
2398 if (VD->getKind() != Decl::Var &&
2399 !(AllowFunctionParameter && VD->getKind() == Decl::ParmVar))
2920 SourceLocation RParen, Decl *Parm,
3023 Sema::ActOnCXXCatchBlock(SourceLocation CatchLoc, Decl *ExDecl,
3272 SmallVector<Decl*, 4> Fields;