Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp12982 VarDecl *VDecl; member
12987 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<()
12998 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer()
13097 if (VDecl && isa<DecompositionDecl>(VDecl) && in deduceVarTypeFromInitializer()
13143 VDecl, VDecl->getDeclName(), VDecl->getType(), VDecl->getTypeSourceInfo(), in DeduceVariableDeclarationType()
13466 if (!VDecl) { in AddInitializerToDecl()
13516 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl()
13557 (!VDecl->isStaticDataMember() || VDecl->isOutOfLine()) && in AddInitializerToDecl()
13712 checkUnsafeAssigns(VDecl->getLocation(), VDecl->getType(), Init); in AddInitializerToDecl()
13792 } else if (VDecl->isStaticDataMember() && !VDecl->isInline() && in AddInitializerToDecl()
[all …]
H A DSemaExprMember.cpp1182 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local
1184 if (VDecl.isInvalid()) in BuildMemberReferenceExpr()
1188 if (!VDecl.get()) in BuildMemberReferenceExpr()
1193 VarDecl *Var = cast<VarDecl>(VDecl.get()); in BuildMemberReferenceExpr()
H A DSemaTemplateDeduction.cpp5143 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
5145 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
5146 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure()
5149 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()
5151 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
5152 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure()
5154 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
H A DSemaDeclObjC.cpp4210 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
4211 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
4212 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
H A DSemaDeclAttr.cpp8625 auto *VDecl = dyn_cast<VarDecl>(D); in handleNoMergeAttr() local
8626 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr()
8628 << AL << VDecl; in handleNoMergeAttr()
H A DSemaExpr.cpp14246 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local
14247 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment()
14250 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment()
14251 << VDecl->getType(); in DiagnoseConstAssignment()
14255 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment()
14256 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2466 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local
2467 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar()
7588 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local
7589 Privates.addPrivate(VDecl, CGF.GetAddrOfLocalVar(PVD)); in mapParam()
H A DCGCall.cpp1846 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn() local
1848 if (VDecl->isExternC()) in HasStrictReturn()
H A DCGOpenMPRuntime.cpp8489 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local
8493 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture()
8494 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCapture()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2977 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit,
9369 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);
9390 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name,