Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDecl.cpp8710 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl); in AddInitializerToDecl() local
8711 if (!VDecl) { in AddInitializerToDecl()
8720 if (TypeMayContainAuto && VDecl->getType()->isUndeducedType()) { in AddInitializerToDecl()
8743 VDecl->isInitCapture() ? diag::err_init_capture_no_expression in AddInitializerToDecl()
8745 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()
8746 << VDecl->getSourceRange(); in AddInitializerToDecl()
8751 VDecl->isInitCapture() in AddInitializerToDecl()
8754 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()
8755 << VDecl->getSourceRange(); in AddInitializerToDecl()
8763 << VDecl->getDeclName() << VDecl->getType() in AddInitializerToDecl()
[all …]
DSemaTemplateDeduction.cpp4047 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
4049 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4050 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure()
4053 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()
4055 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4056 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure()
4058 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
DSemaDeclObjC.cpp2784 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
2785 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
2786 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
DSemaExpr.cpp9047 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local
9048 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment()
9051 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment()
9052 << VDecl->getType(); in DiagnoseConstAssignment()
9056 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment()
9057 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
DSemaDeclCXX.cpp98 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local
102 if (VDecl->isLocalVarDecl()) in VisitDeclRefExpr()
105 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp972 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local
973 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar()
/external/clang/include/clang/Sema/
DSema.h6148 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);