Home
last modified time | relevance | path

Searched refs:TypeCoupledDeclRefInfo (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaBoundsSafety.cpp53 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes, in CheckCountedByAttrOnField()
189 Decls.push_back(TypeCoupledDeclRefInfo(CountFD, /*IsDref*/ false)); in CheckCountedByAttrOnField()
H A DSemaType.cpp9374 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls) { in BuildTypeCoupledDecls()
9377 Decls.push_back(TypeCoupledDeclRefInfo(CountDecl, /*IsDref*/ false)); in BuildTypeCoupledDecls()
9386 llvm::SmallVector<TypeCoupledDeclRefInfo, 1> Decls; in BuildCountAttributedArrayOrPointerType()
H A DSemaDeclAttr.cpp5883 llvm::SmallVector<TypeCoupledDeclRefInfo, 1> Decls; in handleCountedByAttrField()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp406 [](const TypeCoupledDeclRefInfo &Info) { in referencesFieldDecls()
3821 TypeCoupledDeclRefInfo::TypeCoupledDeclRefInfo(ValueDecl *D, bool Deref) in TypeCoupledDeclRefInfo() function in TypeCoupledDeclRefInfo
3824 bool TypeCoupledDeclRefInfo::isDeref() const { in isDeref()
3827 ValueDecl *TypeCoupledDeclRefInfo::getDecl() const { return Data.getPointer(); } in getDecl()
3828 unsigned TypeCoupledDeclRefInfo::getInt() const { return Data.getInt(); } in getInt()
3829 void *TypeCoupledDeclRefInfo::getOpaqueValue() const { in getOpaqueValue()
3832 bool TypeCoupledDeclRefInfo::operator==( in operator ==()
3833 const TypeCoupledDeclRefInfo &Other) const { in operator ==()
3836 void TypeCoupledDeclRefInfo::setFromOpaqueValue(void *V) { in setFromOpaqueValue()
3846 bool OrNull, ArrayRef<TypeCoupledDeclRefInfo> CoupledDecls) in CountAttributedType()
[all …]
H A DASTContext.cpp3471 ArrayRef<TypeCoupledDeclRefInfo> DependentDecls) const { in getCountAttributedType()
3484 size_t Size = CountAttributedType::totalSizeToAlloc<TypeCoupledDeclRefInfo>( in getCountAttributedType()
13706 llvm::ArrayRef<clang::TypeCoupledDeclRefInfo> CDX = DX->getCoupledDecls(); in getCommonSugarTypeNode()
H A DASTImporter.cpp1553 SmallVector<TypeCoupledDeclRefInfo, 1> CoupledDecls; in VisitCountAttributedType()
1554 for (const TypeCoupledDeclRefInfo &TI : T->dependent_decls()) { in VisitCountAttributedType()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h146 void writeTypeCoupledDeclRefInfo(TypeCoupledDeclRefInfo Info) { in writeTypeCoupledDeclRefInfo()
H A DASTRecordReader.h215 TypeCoupledDeclRefInfo readTypeCoupledDeclRefInfo();
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h3189 class TypeCoupledDeclRefInfo {
3204 TypeCoupledDeclRefInfo(ValueDecl *D = nullptr, bool Deref = false);
3210 bool operator==(const TypeCoupledDeclRefInfo &Other) const;
3225 ArrayRef<TypeCoupledDeclRefInfo> Decls; // stored in trailing objects
3233 using decl_iterator = const TypeCoupledDeclRefInfo *;
3245 ArrayRef<TypeCoupledDeclRefInfo> getCoupledDecls() const {
3269 TypeCoupledDeclRefInfo> {
3281 ArrayRef<TypeCoupledDeclRefInfo> CoupledDecls);
3283 unsigned numTrailingObjects(OverloadToken<TypeCoupledDeclRefInfo>) const {
H A DTypeProperties.td41 def : Property<"CoupledDecls", Array<TypeCoupledDeclRefInfo>> {
H A DPropertiesBase.td148 def TypeCoupledDeclRefInfo : PropertyType;
H A DASTContext.h1397 ArrayRef<TypeCoupledDeclRefInfo> DependentDecls) const;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp9279 TypeCoupledDeclRefInfo ASTRecordReader::readTypeCoupledDeclRefInfo() { in readTypeCoupledDeclRefInfo()
9280 return TypeCoupledDeclRefInfo(readDeclAs<ValueDecl>(), readBool()); in readTypeCoupledDeclRefInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h15097 llvm::SmallVectorImpl<TypeCoupledDeclRefInfo> &Decls, bool CountInBytes,