Lines Matching refs:AttributedType
334 template <> const AttributedType *Type::getAs() const {
335 return getAsSugar<AttributedType>(this);
522 if (auto attributed = dyn_cast<AttributedType>(cur)) {
524 AttributedType::attr_objc_inert_unsafe_unretained)
926 QualType VisitAttributedType(const AttributedType *T) {
1580 AutoType *VisitAttributedType(const AttributedType *T) {
2969 bool AttributedType::isQualifier() const {
2974 case AttributedType::attr_address_space:
2975 case AttributedType::attr_objc_gc:
2976 case AttributedType::attr_objc_ownership:
2977 case AttributedType::attr_objc_inert_unsafe_unretained:
2978 case AttributedType::attr_nonnull:
2979 case AttributedType::attr_nullable:
2980 case AttributedType::attr_null_unspecified:
2985 case AttributedType::attr_regparm:
2986 case AttributedType::attr_vector_size:
2987 case AttributedType::attr_neon_vector_type:
2988 case AttributedType::attr_neon_polyvector_type:
2989 case AttributedType::attr_pcs:
2990 case AttributedType::attr_pcs_vfp:
2991 case AttributedType::attr_noreturn:
2992 case AttributedType::attr_cdecl:
2993 case AttributedType::attr_fastcall:
2994 case AttributedType::attr_stdcall:
2995 case AttributedType::attr_thiscall:
2996 case AttributedType::attr_pascal:
2997 case AttributedType::attr_vectorcall:
2998 case AttributedType::attr_inteloclbicc:
2999 case AttributedType::attr_ms_abi:
3000 case AttributedType::attr_sysv_abi:
3001 case AttributedType::attr_ptr32:
3002 case AttributedType::attr_ptr64:
3003 case AttributedType::attr_sptr:
3004 case AttributedType::attr_uptr:
3005 case AttributedType::attr_objc_kindof:
3011 bool AttributedType::isMSTypeSpec() const {
3023 bool AttributedType::isCallingConv() const {
3477 if (auto attributed = dyn_cast<AttributedType>(type.getTypePtr())) {
3609 llvm::Optional<NullabilityKind> AttributedType::getImmediateNullability() const {
3610 if (getAttrKind() == AttributedType::attr_nonnull)
3612 if (getAttrKind() == AttributedType::attr_nullable)
3614 if (getAttrKind() == AttributedType::attr_null_unspecified)
3619 Optional<NullabilityKind> AttributedType::stripOuterNullability(QualType &T) {
3620 if (auto attributed = dyn_cast<AttributedType>(T.getTypePtr())) {