Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDylibVerifier.cpp926 for (const llvm::StringMapEntry<ArchitectureSet> &PAttr : Provided) { in verifyBinaryAttrs() local
927 const auto DAttrIt = Dylib.find(PAttr.getKey()); in verifyBinaryAttrs()
929 Ctx.Diag->Report(DiagID_missing) << "binary file" << PAttr; in verifyBinaryAttrs()
934 if (PAttr.getValue() != DAttrIt->getValue()) { in verifyBinaryAttrs()
935 Ctx.Diag->Report(DiagID_mismatch) << PAttr << *DAttrIt; in verifyBinaryAttrs()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp6980 ParsedAttr &PAttr, QualType &Type) { in handleMSPointerTypeQualifierAttr() argument
6984 switch (PAttr.getKind()) { in handleMSPointerTypeQualifierAttr()
6987 A = createSimpleAttr<Ptr32Attr>(S.Context, PAttr); in handleMSPointerTypeQualifierAttr()
6990 A = createSimpleAttr<Ptr64Attr>(S.Context, PAttr); in handleMSPointerTypeQualifierAttr()
6993 A = createSimpleAttr<SPtrAttr>(S.Context, PAttr); in handleMSPointerTypeQualifierAttr()
6996 A = createSimpleAttr<UPtrAttr>(S.Context, PAttr); in handleMSPointerTypeQualifierAttr()
7021 S.Diag(PAttr.getLoc(), diag::warn_duplicate_attribute_exact) << PAttr; in handleMSPointerTypeQualifierAttr()
7029 S.Diag(PAttr.getLoc(), diag::err_attributes_are_not_compatible) in handleMSPointerTypeQualifierAttr()
7034 S.Diag(PAttr.getLoc(), diag::err_attributes_are_not_compatible) in handleMSPointerTypeQualifierAttr()
7046 S.Diag(PAttr.getLoc(), diag::err_attribute_no_member_pointers) << PAttr; in handleMSPointerTypeQualifierAttr()
[all …]
H A DSemaDeclAttr.cpp4827 if (const auto *PAttr = D->getAttr<PointerAttr>()) { in handleLifetimeCategoryAttr() local
4828 const Type *ExistingDerefType = PAttr->getDerefTypeLoc() in handleLifetimeCategoryAttr()
4829 ? PAttr->getDerefType().getTypePtr() in handleLifetimeCategoryAttr()
4833 << AL << PAttr in handleLifetimeCategoryAttr()
4835 PAttr->isRegularKeywordAttribute()); in handleLifetimeCategoryAttr()
4836 S.Diag(PAttr->getLocation(), diag::note_conflicting_attribute); in handleLifetimeCategoryAttr()