Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp6373 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() local
6374 if (!VDecl) { in AddInitializerToDecl()
6386 if ((!VDecl->hasLocalStorage() || VDecl->getType()->isReferenceType()) && in AddInitializerToDecl()
6387 (isa<InitListExpr>(Init) || !VDecl->getType()->isRecordType())) in AddInitializerToDecl()
6395 (Auto = VDecl->getType()->getContainedAutoType()) && in AddInitializerToDecl()
6406 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()
6407 << VDecl->getSourceRange(); in AddInitializerToDecl()
6413 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()
6414 << VDecl->getSourceRange(); in AddInitializerToDecl()
6422 if (DeduceAutoType(VDecl->getTypeSourceInfo(), DeduceInit, DeducedType) == in AddInitializerToDecl()
[all …]
DSemaTemplateDeduction.cpp3624 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
3626 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
3628 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()
3630 Diag(VDecl->getLocation(), diag::err_auto_var_deduction_failure) in DiagnoseAutoDeductionFailure()
3631 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
DSemaDeclObjC.cpp2444 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
2445 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
2446 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
DSemaDeclCXX.cpp94 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local
98 if (VDecl->isLocalVarDecl()) in VisitDeclRefExpr()
101 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
/external/clang/include/clang/Sema/
DSema.h5389 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);