Searched refs:VDecl (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 11631 VarDecl *VDecl; member 11636 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<() 11641 QualType Sema::deduceVarTypeFromInitializer(VarDecl *VDecl, in deduceVarTypeFromInitializer() argument 11646 bool IsInitCapture = !VDecl; in deduceVarTypeFromInitializer() 11647 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer() 11650 VarDeclOrName VN{VDecl, Name}; in deduceVarTypeFromInitializer() 11657 assert(VDecl && "no init for init capture deduction?"); in deduceVarTypeFromInitializer() 11662 VDecl->hasExternalStorage() || in deduceVarTypeFromInitializer() 11663 VDecl->isStaticDataMember()) { in deduceVarTypeFromInitializer() 11664 Diag(VDecl->getLocation(), diag::err_auto_var_requires_init) in deduceVarTypeFromInitializer() [all …]
|
| H A D | SemaExprMember.cpp | 1147 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local 1149 if (VDecl.isInvalid()) in BuildMemberReferenceExpr() 1153 if (!VDecl.get()) in BuildMemberReferenceExpr() 1158 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 | 12680 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local 12681 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment() 12684 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment() 12685 << VDecl->getType(); in DiagnoseConstAssignment() 12689 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment() 12690 << 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2426 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local 2427 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar() 6819 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local 6820 Privates.addPrivate(VDecl, in mapParam()
|
| H A D | CGCall.cpp | 2231 else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) in ConstructAttributeList() local 2233 HasStrictReturn &= !VDecl->isExternC(); in ConstructAttributeList()
|
| H A D | CGOpenMPRuntime.cpp | 8918 const ValueDecl *VDecl, *Mapper; in generateInfoForCapture() local 8922 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCapture() 8923 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCapture()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 2661 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit, 8471 void DiagnoseAutoDeductionFailure(VarDecl *VDecl, Expr *Init); 8484 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name,
|