Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp10797 VarDecl *VDecl; member
10802 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<()
10813 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer()
10904 if (VDecl && isa<DecompositionDecl>(VDecl) && in deduceVarTypeFromInitializer()
10947 VDecl, VDecl->getDeclName(), VDecl->getType(), VDecl->getTypeSourceInfo(), in DeduceVariableDeclarationType()
10994 if (!VDecl) { in AddInitializerToDecl()
11024 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl()
11055 if ((Def = VDecl->getDefinition()) && Def != VDecl && in AddInitializerToDecl()
11056 (!VDecl->isStaticDataMember() || VDecl->isOutOfLine()) && in AddInitializerToDecl()
11172 checkUnsafeAssigns(VDecl->getLocation(), VDecl->getType(), Init); in AddInitializerToDecl()
[all …]
H A DSemaTemplateDeduction.cpp4583 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
4585 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4586 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure()
4589 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()
4591 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4592 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure()
4594 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
H A DSemaExprMember.cpp931 DeclResult VDecl = S.CheckVarTemplateId( in getVarTemplateSpecialization() local
933 if (VDecl.isInvalid()) in getVarTemplateSpecialization()
935 VarDecl *Var = cast<VarDecl>(VDecl.get()); in getVarTemplateSpecialization()
H A DSemaDeclObjC.cpp4085 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
4086 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
4087 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
H A DSemaExpr.cpp11034 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local
11035 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment()
11038 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment()
11039 << VDecl->getType(); in DiagnoseConstAssignment()
11043 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment()
11044 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
H A DSemaDeclCXX.cpp100 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local
104 if (VDecl->isLocalVarDecl()) in VisitDeclRefExpr()
107 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp1675 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local
1676 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar()
4855 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local
4856 Privates.addPrivate(VDecl, in mapParam()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1965 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit,
7085 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);
7098 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name,