Searched refs:VDecl (Results 1 – 5 of 5) sorted by relevance
8284 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() local8285 if (!VDecl) { in AddInitializerToDecl()8294 if (TypeMayContainAuto && VDecl->getType()->isUndeducedType()) { in AddInitializerToDecl()8303 VDecl->isInitCapture() ? diag::err_init_capture_no_expression in AddInitializerToDecl()8305 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()8306 << VDecl->getSourceRange(); in AddInitializerToDecl()8311 VDecl->isInitCapture() in AddInitializerToDecl()8314 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()8315 << VDecl->getSourceRange(); in AddInitializerToDecl()8323 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()[all …]
4088 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument4090 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()4091 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure()4094 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()4096 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()4097 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure()4099 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
2728 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local2729 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()2730 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
97 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local101 if (VDecl->isLocalVarDecl()) in VisitDeclRefExpr()104 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
6045 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);