Home | History | Annotate | Download | only in Sema

Lines Matching full:vardecl

350     const AutoType *AT = cast<VarDecl>(D)->getType()->getContainedAutoType();
415 } else if (isa<VarDecl>(D)) {
1690 isa<VarDecl>(D) &&
1691 NeedToCaptureVariable(cast<VarDecl>(D), NameInfo.getLoc());
1714 if (getLangOpts().ObjCWeak && isa<VarDecl>(D) &&
2897 QualType CapturedType = getCapturedDeclRefType(cast<VarDecl>(VD), Loc);
9228 VarDecl *var = dyn_cast<VarDecl>(DRE->getDecl());
9308 } else if (const VarDecl *VDecl = dyn_cast<VarDecl>(VD)) {
9408 if (declRef && isa<VarDecl>(declRef->getDecl())) {
9409 VarDecl *var = cast<VarDecl>(declRef->getDecl());
9967 if (const VarDecl *vd = dyn_cast<VarDecl>(dcl)) {
11662 const VarDecl *var = CI.getVariable();
12586 VarDecl *var, DeclContext *DC) {
12631 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var,
12662 static DeclContext *getParentOfCapturingContextOrNull(DeclContext *DC, VarDecl *Var,
12677 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var,
12738 static bool captureInBlock(BlockScopeInfo *BSI, VarDecl *Var,
12830 VarDecl *Var,
12884 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var,
12902 VarDecl *Var,
13004 VarDecl *Var, SourceLocation ExprLoc, TryCaptureKind Kind,
13308 bool Sema::tryCaptureVariable(VarDecl *Var, SourceLocation Loc,
13317 bool Sema::NeedToCaptureVariable(VarDecl *Var, SourceLocation Loc) {
13325 QualType Sema::getCapturedDeclRefType(VarDecl *Var, SourceLocation Loc) {
13344 static inline bool IsVariableNonDependentAndAConstantExpression(VarDecl *Var,
13349 const VarDecl *DefVD = nullptr;
13375 VarDecl *Var = nullptr;
13377 Var = dyn_cast<VarDecl>(DRE->getFoundDecl());
13379 Var = dyn_cast<VarDecl>(ME->getMemberDecl());
13402 VarDecl *Var;
13405 Var = cast<VarDecl>(DRE->getDecl());
13408 Var = cast<VarDecl>(ME->getMemberDecl());
13423 VarDecl *Var, Expr *E) {
13540 /// used directly for normal expressions referring to VarDecl.
13541 void Sema::MarkVariableReferenced(SourceLocation Loc, VarDecl *Var) {
13547 if (VarDecl *Var = dyn_cast<VarDecl>(D)) {
13614 if (auto *VD = dyn_cast<VarDecl>(D)) {
13685 if (VarDecl *VD = dyn_cast<VarDecl>(E->getDecl()))
14364 } else if (isa<VarDecl>(VD)) {