clang 22.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/TypeBase.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.
Definition at line 870 of file TypeBase.h.
|
default |
Referenced by getSingleStepDesugaredType(), operator!=, and operator==.
|
inline |
Definition at line 878 of file TypeBase.h.
|
inline |
Definition at line 883 of file TypeBase.h.
|
inline |
Definition at line 8278 of file TypeBase.h.
References clang::Qualifiers::addConsistentQualifiers(), getSingleStepDesugaredType(), Quals, SplitQualType(), and Ty.
Referenced by getSingleStepDesugaredType(), and handleObjCOwnershipTypeAttr().
|
friend |
Definition at line 890 of file TypeBase.h.
References b, Quals, SplitQualType(), and Ty.
|
friend |
Definition at line 887 of file TypeBase.h.
References b, Quals, SplitQualType(), and Ty.
Qualifiers clang::SplitQualType::Quals |
The local qualifiers.
Definition at line 875 of file TypeBase.h.
Referenced by clang::ODRHash::AddQualType(), asPair(), checkARCPropertyImpl(), clang::ASTContext::getAsArrayType(), 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(), IsOverloadOrOverrideImpl(), operator!=, clang::operator<<(), operator==, SplitQualType(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().
The locally-unqualified type.
Definition at line 872 of file TypeBase.h.
Referenced by clang::ODRHash::AddQualType(), asPair(), clang::ASTContext::getAsArrayType(), 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(), IsOverloadOrOverrideImpl(), operator!=, clang::operator<<(), operator==, SplitQualType(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().