Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp12544 VarDecl *VDecl; member
12549 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<()
12554 QualType Sema::deduceVarTypeFromInitializer(VarDecl *VDecl, in deduceVarTypeFromInitializer() argument
12559 bool IsInitCapture = !VDecl; in deduceVarTypeFromInitializer()
12560 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer()
12563 VarDeclOrName VN{VDecl, Name}; in deduceVarTypeFromInitializer()
12570 assert(VDecl && "no init for init capture deduction?"); in deduceVarTypeFromInitializer()
12575 VDecl->hasExternalStorage() || in deduceVarTypeFromInitializer()
12576 VDecl->isStaticDataMember()) { in deduceVarTypeFromInitializer()
12577 Diag(VDecl->getLocation(), diag::err_auto_var_requires_init) in deduceVarTypeFromInitializer()
[all …]
H A DSemaExprMember.cpp1149 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local
1151 if (VDecl.isInvalid()) in BuildMemberReferenceExpr()
1155 if (!VDecl.get()) in BuildMemberReferenceExpr()
1160 VarDecl *Var = cast<VarDecl>(VDecl.get()); in BuildMemberReferenceExpr()
H A DSemaTemplateDeduction.cpp4907 void Sema::DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init) { in DiagnoseAutoDeductionFailure() argument
4909 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4910 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure()
4913 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure()
4915 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure()
4916 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure()
4918 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
H A DSemaDeclObjC.cpp4211 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local
4212 if (!VDecl->hasExternalStorage()) in ActOnAtEnd()
4213 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
H A DSemaExpr.cpp13791 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local
13792 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment()
13795 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment()
13796 << VDecl->getType(); in DiagnoseConstAssignment()
13800 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment()
13801 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp2466 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local
2467 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar()
7508 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local
7509 Privates.addPrivate(VDecl, CGF.GetAddrOfLocalVar(PVD)); in mapParam()
H A DCGCall.cpp1818 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn() local
1820 if (VDecl->isExternC()) in HasStrictReturn()
H A DCGOpenMPRuntime.cpp8717 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local
8721 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture()
8722 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCapture()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h2925 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit,
9100 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init);
9113 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name,