Searched refs:VDecl (Results 1 – 10 of 10) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 11690 VarDecl *VDecl; member 11695 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<() 11706 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer() 11797 if (VDecl && isa<DecompositionDecl>(VDecl) && in deduceVarTypeFromInitializer() 11840 VDecl, VDecl->getDeclName(), VDecl->getType(), VDecl->getTypeSourceInfo(), in DeduceVariableDeclarationType() 12163 if (!VDecl) { in AddInitializerToDecl() 12201 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl() 12233 (!VDecl->isStaticDataMember() || VDecl->isOutOfLine()) && in AddInitializerToDecl() 12363 checkUnsafeAssigns(VDecl->getLocation(), VDecl->getType(), Init); in AddInitializerToDecl() 12443 } else if (VDecl->isStaticDataMember() && !VDecl->isInline() && in AddInitializerToDecl() [all …]
|
| H A D | SemaExprMember.cpp | 1148 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local 1150 if (VDecl.isInvalid()) in BuildMemberReferenceExpr() 1154 if (!VDecl.get()) in BuildMemberReferenceExpr() 1159 VarDecl *Var = cast<VarDecl>(VDecl.get()); in BuildMemberReferenceExpr()
|
| H A D | SemaTemplateDeduction.cpp | 4968 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument 4970 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 4971 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure() 4974 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure() 4976 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 4977 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure() 4979 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
|
| H A D | SemaDeclObjC.cpp | 4195 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local 4196 if (!VDecl->hasExternalStorage()) in ActOnAtEnd() 4197 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
|
| H A D | SemaExpr.cpp | 12801 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local 12802 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment() 12805 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment() 12806 << VDecl->getType(); in DiagnoseConstAssignment() 12810 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment() 12811 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
|
| H A D | SemaDeclCXX.cpp | 102 } else if (const auto *VDecl = dyn_cast<VarDecl>(Decl)) { in VisitDeclRefExpr() local 114 if (VDecl->isLocalVarDecl() && !DRE->isNonOdrUse()) in VisitDeclRefExpr() 117 << VDecl->getDeclName() << DefaultArg->getSourceRange(); in VisitDeclRefExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2431 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local 2432 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar() 6852 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local 6853 Privates.addPrivate(VDecl, in mapParam()
|
| H A D | CGCall.cpp | 2233 else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) in ConstructAttributeList() local 2235 HasStrictReturn &= !VDecl->isExternC(); in ConstructAttributeList()
|
| H A D | CGOpenMPRuntime.cpp | 9098 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local 9102 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture() 9103 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCapture()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 2697 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit, 8540 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init); 8553 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name,
|