Home
last modified time | relevance | path

Searched refs:VDecl (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp8284 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() local
8285 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 …]
DSemaTemplateDeduction.cpp4088 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
4090 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()
DSemaDeclObjC.cpp2728 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
2729 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
2730 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
DSemaDeclCXX.cpp97 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local
101 if (VDecl->isLocalVarDecl()) in VisitDeclRefExpr()
104 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
/external/clang/include/clang/Sema/
DSema.h6045 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);