Searched refs:VDecl (Results 1 – 12 of 12) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 13007 VarDecl *VDecl; member 13012 return VN.VDecl ? Diag << VN.VDecl : Diag << VN.Name; in operator <<() 13017 QualType Sema::deduceVarTypeFromInitializer(VarDecl *VDecl, in deduceVarTypeFromInitializer() argument 13022 bool IsInitCapture = !VDecl; in deduceVarTypeFromInitializer() 13023 assert((!VDecl || !VDecl->isInitCapture()) && in deduceVarTypeFromInitializer() 13026 VarDeclOrName VN{VDecl, Name}; in deduceVarTypeFromInitializer() 13042 assert(VDecl && "no init for init capture deduction?"); in deduceVarTypeFromInitializer() 13047 VDecl->hasExternalStorage() || in deduceVarTypeFromInitializer() 13048 VDecl->isStaticDataMember()) { in deduceVarTypeFromInitializer() 13049 Diag(VDecl->getLocation(), diag::err_auto_var_requires_init) in deduceVarTypeFromInitializer() [all …]
|
| H A D | SemaExprMember.cpp | 1128 DeclResult VDecl = CheckVarTemplateId(VarTempl, TemplateKWLoc, in BuildMemberReferenceExpr() local 1130 if (VDecl.isInvalid()) in BuildMemberReferenceExpr() 1134 if (!VDecl.get()) in BuildMemberReferenceExpr() 1139 VarDecl *Var = cast<VarDecl>(VDecl.get()); in BuildMemberReferenceExpr()
|
| H A D | SemaTemplateDeduction.cpp | 5387 void Sema::DiagnoseAutoDeductionFailure(const VarDecl *VDecl, in DiagnoseAutoDeductionFailure() argument 5390 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 5391 VDecl->isInitCapture() in DiagnoseAutoDeductionFailure() 5394 << VDecl->getDeclName() << VDecl->getType() << Init->getSourceRange(); in DiagnoseAutoDeductionFailure() 5396 Diag(VDecl->getLocation(), in DiagnoseAutoDeductionFailure() 5397 VDecl->isInitCapture() ? diag::err_init_capture_deduction_failure in DiagnoseAutoDeductionFailure() 5399 << VDecl->getDeclName() << VDecl->getType() << Init->getType() in DiagnoseAutoDeductionFailure()
|
| H A D | SemaHLSL.cpp | 4033 bool SemaHLSL::handleInitialization(VarDecl *VDecl, Expr *&Init) { in handleInitialization() argument 4035 VDecl->getAttr<HLSLVkConstantIdAttr>(); in handleInitialization() 4043 Diag(VDecl->getLocation(), diag::err_specialization_const); in handleInitialization() 4044 VDecl->setInvalidDecl(); in handleInitialization() 4049 getSpecConstBuiltinId(VDecl->getType()->getUnqualifiedDesugaredType()); in handleInitialization() 4060 VDecl->getType()->getCanonicalTypeUnqualified()) { in handleInitialization()
|
| H A D | SemaDeclObjC.cpp | 4218 if (VarDecl *VDecl = dyn_cast<VarDecl>(*I)) { in ActOnAtEnd() local 4219 if (!VDecl->hasExternalStorage()) in ActOnAtEnd() 4220 Diag(VDecl->getLocation(), diag::err_objc_var_decl_inclass); in ActOnAtEnd()
|
| H A D | SemaDeclAttr.cpp | 6662 auto *VDecl = dyn_cast<VarDecl>(D); in handleNoMergeAttr() local 6663 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr() 6665 << AL << VDecl; in handleNoMergeAttr()
|
| H A D | SemaExpr.cpp | 13598 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) { in DiagnoseConstAssignment() local 13599 if (VDecl->getType().isConstQualified()) { in DiagnoseConstAssignment() 13602 << ExprRange << ConstMember << true /*static*/ << VDecl in DiagnoseConstAssignment() 13603 << VDecl->getType(); in DiagnoseConstAssignment() 13607 << ConstMember << true /*static*/ << VDecl << VDecl->getType() in DiagnoseConstAssignment() 13608 << VDecl->getSourceRange(); in DiagnoseConstAssignment()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 200 bool handleInitialization(VarDecl *VDecl, Expr *&Init);
|
| H A D | Sema.h | 4636 QualType deduceVarTypeFromInitializer(VarDecl *VDecl, DeclarationName Name, 4641 bool DeduceVariableDeclarationType(VarDecl *VDecl, bool DirectInit, 12673 void DiagnoseAutoDeductionFailure(const VarDecl *VDecl, const Expr *Init);
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 2617 auto VDecl = cast<VarDecl>(Helper->getDecl()); in EmitOMPHelperVar() local 2618 CGF.EmitVarDecl(*VDecl); in EmitOMPHelperVar() 7880 const auto *VDecl = cast<VarDecl>(Helper->getDecl()); in mapParam() local 7881 Privates.addPrivate(VDecl, CGF.GetAddrOfLocalVar(PVD)); in mapParam()
|
| H A D | CGCall.cpp | 1921 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(TargetDecl)) { in HasStrictReturn() local 1923 if (VDecl->isExternC()) in HasStrictReturn()
|
| H A D | CGOpenMPRuntime.cpp | 8799 const ValueDecl *VDecl, *Mapper; in generateInfoForCaptureFromClauseInfo() local 8803 std::tie(VDecl, Components, Mapper) = L; in generateInfoForCaptureFromClauseInfo() 8804 assert(VDecl == VD && "We got information for the wrong declaration??"); in generateInfoForCaptureFromClauseInfo()
|