Home
last modified time | relevance | path

Searched refs:CountDecl (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp152 auto *CountDecl = DRE->getDecl(); in CheckCountedByAttrOnField() local
153 FieldDecl *CountFD = dyn_cast<FieldDecl>(CountDecl); in CheckCountedByAttrOnField()
154 if (auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) { in CheckCountedByAttrOnField()
159 << CountDecl << Kind << E->getSourceRange(); in CheckCountedByAttrOnField()
161 Diag(CountDecl->getBeginLoc(), in CheckCountedByAttrOnField()
163 << CountDecl << CountDecl->getSourceRange(); in CheckCountedByAttrOnField()
H A DSemaType.cpp9376 auto *CountDecl = cast<DeclRefExpr>(E)->getDecl(); in BuildTypeCoupledDecls() local
9377 Decls.push_back(TypeCoupledDeclRefInfo(CountDecl, /*IsDref*/ false)); in BuildTypeCoupledDecls()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp1115 const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) { in EmitCountedByFieldExpr() argument
1116 const RecordDecl *RD = CountDecl->getParent()->getOuterLexicalRecordContext(); in EmitCountedByFieldExpr()
1140 getGEPIndicesToField(*this, RD, CountDecl, Indices); in EmitCountedByFieldExpr()
1147 return Builder.CreateAlignedLoad(ConvertType(CountDecl->getType()), Res, in EmitCountedByFieldExpr()
1160 const auto *CountDecl = CountDRE->getDecl(); in FindCountedByField() local
1161 if (const auto *IFD = dyn_cast<IndirectFieldDecl>(CountDecl)) in FindCountedByField()
1162 CountDecl = IFD->getAnonField(); in FindCountedByField()
1164 return dyn_cast<FieldDecl>(CountDecl); in FindCountedByField()
H A DCodeGenFunction.h3312 const FieldDecl *CountDecl);