clang 20.0.0git
|
A std::pair-like structure for storing a qualified type split into its local qualifiers and its locally-unqualified type. More...
#include "clang/AST/Type.h"
Public Member Functions | |
SplitQualType ()=default | |
SplitQualType (const Type *ty, Qualifiers qs) | |
SplitQualType | getSingleStepDesugaredType () const |
std::pair< const Type *, Qualifiers > | asPair () const |
Public Attributes | |
const Type * | Ty = nullptr |
The locally-unqualified type. | |
Qualifiers | Quals |
The local qualifiers. | |
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.
|
default |
|
inline |
|
inline |
|
inline |
Definition at line 7748 of file Type.h.
References clang::Qualifiers::addConsistentQualifiers(), and Quals.
Referenced by handleObjCOwnershipTypeAttr().
|
friend |
|
friend |
Qualifiers clang::SplitQualType::Quals |
The local qualifiers.
Definition at line 879 of file Type.h.
Referenced by clang::ODRHash::AddQualType(), asPair(), checkARCPropertyImpl(), clang::ASTContext::getAsArrayType(), clang::QualType::getAsString(), clang::QualType::getAsStringInternal(), clang::ASTContext::getBaseElementType(), clang::ASTContext::getCommonSugaredType(), 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::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().
const Type* clang::SplitQualType::Ty = nullptr |
The locally-unqualified type.
Definition at line 876 of file Type.h.
Referenced by clang::ODRHash::AddQualType(), asPair(), clang::ASTContext::getAsArrayType(), clang::QualType::getAsString(), clang::QualType::getAsStringInternal(), clang::ASTContext::getBaseElementType(), clang::ASTContext::getCommonSugaredType(), clang::ASTContext::getConstantArrayType(), clang::ASTContext::getDependentSizedArrayType(), clang::ASTContext::getIncompleteArrayType(), clang::ASTContext::getQualifiedType(), clang::ASTContext::getUnqualifiedArrayType(), clang::ASTContext::getVariableArrayDecayedType(), clang::ASTContext::getVariableArrayType(), handleObjCOwnershipTypeAttr(), clang::QualType::print(), clang::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().