|
clang
3.8.0
|
A std::pair-like structure for storing a qualified type split into its local qualifiers and its locally-unqualified type. More...
#include <Type.h>
Public Member Functions | |
| SplitQualType () | |
| SplitQualType (const Type *ty, Qualifiers qs) | |
| SplitQualType | getSingleStepDesugaredType () const |
| std::pair< const Type *, Qualifiers > | asPair () const |
Public Attributes | |
| const Type * | Ty |
| The locally-unqualified type. More... | |
| Qualifiers | Quals |
| The local qualifiers. More... | |
Friends | |
| bool | operator== (SplitQualType a, SplitQualType b) |
| bool | operator!= (SplitQualType a, SplitQualType b) |
A std::pair-like structure for storing a qualified type split into its local qualifiers and its locally-unqualified type.
|
inline |
|
inline |
|
inline |
Definition at line 5082 of file Type.h.
References clang::Qualifiers::addConsistentQualifiers(), clang::desugar(), clang::Type::getLocallyUnqualifiedSingleStepDesugaredType(), Quals, and clang::QualType::split().
Referenced by handleObjCOwnershipTypeAttr().
|
friend |
|
friend |
| Qualifiers clang::SplitQualType::Quals |
The local qualifiers.
Definition at line 523 of file Type.h.
Referenced by clang::Sema::BuildQualifiedType(), checkARCPropertyImpl(), clang::ASTContext::getAsArrayType(), clang::QualType::getAsString(), clang::QualType::getAsStringInternal(), clang::ASTContext::getBaseElementType(), clang::ASTContext::getConstantArrayType(), clang::ASTContext::getDependentSizedArrayType(), clang::ASTContext::getIncompleteArrayType(), clang::ASTContext::getQualifiedType(), getSingleStepDesugaredType(), clang::ASTContext::getUnqualifiedArrayType(), clang::ASTContext::getVariableArrayDecayedType(), clang::ASTContext::getVariableArrayType(), handleObjCOwnershipTypeAttr(), clang::QualType::print(), clang::QualType::stripObjCKindOfType(), clang::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::QualType::substObjCTypeArgs().
| const Type* clang::SplitQualType::Ty |
The locally-unqualified type.
Definition at line 520 of file Type.h.
Referenced by clang::Sema::BuildQualifiedType(), clang::ASTContext::getAsArrayType(), clang::QualType::getAsString(), clang::QualType::getAsStringInternal(), clang::ASTContext::getBaseElementType(), clang::ASTContext::getConstantArrayType(), clang::ASTContext::getDependentSizedArrayType(), clang::ASTContext::getIncompleteArrayType(), clang::ASTContext::getQualifiedType(), clang::ASTContext::getUnqualifiedArrayType(), clang::ASTContext::getVariableArrayDecayedType(), clang::ASTContext::getVariableArrayType(), clang::QualType::print(), clang::QualType::stripObjCKindOfType(), clang::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::QualType::substObjCTypeArgs().
1.8.6