clang API Documentation
#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. | |
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.
clang::SplitQualType::SplitQualType | ( | ) | [inline] |
clang::SplitQualType::SplitQualType | ( | const Type * | ty, |
Qualifiers | qs | ||
) | [inline] |
std::pair<const Type *,Qualifiers> clang::SplitQualType::asPair | ( | ) | const [inline] |
SplitQualType clang::SplitQualType::getSingleStepDesugaredType | ( | ) | const [inline] |
Definition at line 4672 of file Type.h.
References clang::Qualifiers::addConsistentQualifiers(), and Quals.
Referenced by handleObjCOwnershipTypeAttr().
bool operator!= | ( | SplitQualType | a, |
SplitQualType | b | ||
) | [friend] |
bool operator== | ( | SplitQualType | a, |
SplitQualType | b | ||
) | [friend] |
The local qualifiers.
Definition at line 500 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(), and clang::QualType::print().
const Type* clang::SplitQualType::Ty |
The locally-unqualified type.
Definition at line 497 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(), and clang::QualType::print().