Home
last modified time | relevance | path

Searched refs:CountFD (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp153 FieldDecl *CountFD = dyn_cast<FieldDecl>(CountDecl); in CheckCountedByAttrOnField() local
155 CountFD = IFD->getAnonField(); in CheckCountedByAttrOnField()
157 if (!CountFD) { in CheckCountedByAttrOnField()
167 if (FD->getParent() != CountFD->getParent()) { in CheckCountedByAttrOnField()
168 if (CountFD->getParent()->isUnion()) { in CheckCountedByAttrOnField()
169 Diag(CountFD->getBeginLoc(), diag::err_count_attr_refer_to_union) in CheckCountedByAttrOnField()
170 << Kind << CountFD->getSourceRange(); in CheckCountedByAttrOnField()
177 auto *CountRD = GetEnclosingNamedOrTopAnonRecord(CountFD); in CheckCountedByAttrOnField()
181 << CountFD << Kind << FieldTy->isArrayType() << E->getSourceRange(); in CheckCountedByAttrOnField()
182 Diag(CountFD->getBeginLoc(), in CheckCountedByAttrOnField()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp4304 if (const FieldDecl *CountFD = FindCountedByField(FAMDecl)) { in EmitArraySubscriptExpr() local
4306 getOffsetDifferenceInBits(*this, CountFD, FAMDecl)) { in EmitArraySubscriptExpr()
4314 llvm::Type *CountTy = ConvertType(CountFD->getType()); in EmitArraySubscriptExpr()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp7354 enum { OffsetFD = 0, CountFD, StrideFD }; in emitNonContiguousDescriptor() enumerator
7379 Value *CountLVal = Builder.CreateStructGEP(DimTy, DimsLVal, CountFD); in emitNonContiguousDescriptor()