Home | History | Annotate | Download | only in AST

Lines Matching refs:Qualifiers

1385 ASTContext::getExtQualType(const Type *baseType, Qualifiers quals) const {
1420 // If we are composing extended qualifiers together, merge together
1435 Qualifiers::GC GCAttr) const {
1448 // If we are composing extended qualifiers together, merge together
1700 // If the element type isn't canonical or has qualifiers, this won't
1850 // Apply the top-level qualifiers from the original.
1865 // Be sure to pull qualifiers off the element type.
1932 // Apply qualifiers from the element type to the array.
1964 // qualifiers off the element type.
3097 // Push qualifiers into arrays, and then discard any remaining
3098 // qualifiers.
3115 Qualifiers &quals) {
3135 // If that didn't change the element type, AT has no qualifiers, so we
3143 // Otherwise, add in the qualifiers from the outermost type, then
3175 /// qualifiers on T1 and T2 are ignored. This function will typically
3428 // Apply any qualifiers from the array type to the element type. This
3430 // any type qualifiers, the element type is so qualified, not the array type."
3432 // If we get here, we either have type qualifiers on the type, or we have
3433 // sugar such as a typedef in the way. If we have type qualifiers on the type
3437 Qualifiers qs = split.Quals;
3444 // Otherwise, we have an array and we have qualifiers on it. Push the
3445 // qualifiers into the array element type and return a new array type.
3478 // qualifiers (if any) are those specified within the [ and ] of
3508 // of type qualifiers from the array type into the element type if present
3524 Qualifiers qs;
3717 Qualifiers::ObjCLifetime ASTContext::getInnerObjCOwnership(QualType T) const {
3719 if (T.getObjCLifetime() != Qualifiers::OCL_None)
3731 return Qualifiers::OCL_None;
4494 // Ignore type qualifiers etc.
4627 // Ignore protocol qualifiers when mangling at this level.
4658 // FIXME: Consider if we need to output qualifiers for 'Class<p>'.
5127 Qualifiers::GC ASTContext::getObjCGCAttrKind(QualType Ty) const {
5129 return Qualifiers::GCNone;
5132 Qualifiers::GC GCAttrs = Ty.getObjCGCAttr();
5137 if (GCAttrs == Qualifiers::GCNone) {
5139 return Qualifiers::Strong;
5274 // If there are no qualifiers and no interface, we have an 'id'.
5277 // Both the right and left sides have qualifiers.
5321 // If both the right and left sides have qualifiers.
5380 /// protocol qualifiers on the LHS or RHS.
5536 // Okay, we know the LHS has protocol qualifiers. If the RHS doesn't,
5869 // If the qualifiers are different, the types aren't compatible... mostly.
5870 Qualifiers LQuals = LHSCan.getLocalQualifiers();
5871 Qualifiers RQuals = RHSCan.getLocalQualifiers();
5873 // If any of these qualifiers are different, we have a type
5885 Qualifiers::GC GC_L = LQuals.getObjCGCAttr();
5886 Qualifiers::GC GC_R = RQuals.getObjCGCAttr();
5889 if (GC_L == Qualifiers::Weak || GC_R == Qualifiers::Weak)
5892 if (GC_L == Qualifiers::Strong && RHSCan->isObjCObjectPointerType()) {
5893 return mergeTypes(LHS, getObjCGCQualType(RHS, Qualifiers::Strong));
5895 if (GC_R == Qualifiers::Strong && LHSCan->isObjCObjectPointerType()) {
5896 return mergeTypes(getObjCGCQualType(LHS, Qualifiers::Strong), RHS);
5901 // Okay, qualifiers are equal.
6179 // If the qualifiers are different, the types can still be merged.
6180 Qualifiers LQuals = LHSCan.getLocalQualifiers();
6181 Qualifiers RQuals = RHSCan.getLocalQualifiers();
6183 // If any of these qualifiers are different, we have a type mismatch.
6193 Qualifiers::GC GC_L = LQuals.getObjCGCAttr();
6194 Qualifiers::GC GC_R = RQuals.getObjCGCAttr();
6197 if (GC_L == Qualifiers::Weak || GC_R == Qualifiers::Weak)
6200 if (GC_L == Qualifiers::Strong)
6202 if (GC_R == Qualifiers::Strong)