Searched refs:VDecl (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 12781 VarDecl *VDecl; member 12786 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<() 12791 QualType Sema::deduceVarTypeFromInitializer(VarDecl *VDecl, in deduceVarTypeFromInitializer() argument 12796 bool IsInitCapture = !VDecl; in deduceVarTypeFromInitializer() 12797 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer() 12800 VarDeclOrName VN{VDecl, Name}; in deduceVarTypeFromInitializer() 12816 assert(VDecl && "no init for init capture deduction?"); in deduceVarTypeFromInitializer() 12821 VDecl->hasExternalStorage() || in deduceVarTypeFromInitializer() 12822 VDecl->isStaticDataMember()) { in deduceVarTypeFromInitializer() 12823 Diag(VDecl->getLocation(), diag::err_auto_var_requires_init) in deduceVarTypeFromInitializer() [all …]
|
H A D | SemaExprMember.cpp | 1192 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local 1194 if (VDecl.isInvalid()) in BuildMemberReferenceExpr() 1198 if (!VDecl.get()) in BuildMemberReferenceExpr() 1203 VarDecl *Var = cast<VarDecl>(VDecl.get()); in BuildMemberReferenceExpr()
|
H A D | SemaTemplateDeduction.cpp | 5273 void Sema::DiagnoseAutoDeductionFailure(const VarDecl *VDecl, in DiagnoseAutoDeductionFailure() argument 5276 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 5277 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure() 5280 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure() 5282 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 5283 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure() 5285 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
|
H A D | SemaDeclObjC.cpp | 4216 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local 4217 if (!VDecl->hasExternalStorage()) in ActOnAtEnd() 4218 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
|
H A D | SemaDeclAttr.cpp | 5919 auto *VDecl = dyn_cast<VarDecl>(D); in handleNoMergeAttr() local 5920 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr() 5922 << AL << VDecl; in handleNoMergeAttr()
|
H A D | SemaExpr.cpp | 13218 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local 13219 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment() 13222 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment() 13223 << VDecl->getType(); in DiagnoseConstAssignment() 13227 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment() 13228 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmtOpenMP.cpp | 2493 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local 2494 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar() 7660 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local 7661 Privates.addPrivate(VDecl, CGF.GetAddrOfLocalVar(PVD)); in mapParam()
|
H A D | CGCall.cpp | 1824 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn() local 1826 if (VDecl->isExternC()) in HasStrictReturn()
|
H A D | CGOpenMPRuntime.cpp | 8542 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local 8546 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture() 8547 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCapture()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 4250 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name, 4255 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit, 12422 void DiagnoseAutoDeductionFailure(const VarDecl *VDecl, const Expr *Init);
|