clang: clang::SplitQualType Struct Reference (original) (raw)

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](Type%5F8h%5Fsource.html)"

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.

Detailed Description

A std::pair-like structure for storing a qualified type split into its local qualifiers and its locally-unqualified type.

Definition at line 862 of file Type.h.

Constructor & Destructor Documentation

clang::SplitQualType::SplitQualType ( ) default

SplitQualType() [2/2]

clang::SplitQualType::SplitQualType ( const Type * ty, Qualifiers qs ) inline

Definition at line 870 of file Type.h.

Member Function Documentation

asPair()

std::pair< const Type *, Qualifiers > clang::SplitQualType::asPair ( ) const inline

getSingleStepDesugaredType()

SplitQualType clang::SplitQualType::getSingleStepDesugaredType ( ) const inline

operator!=

operator==

Member Data Documentation

Quals

The local qualifiers.

Definition at line 867 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(), IsOverloadOrOverrideImpl(), clang::QualType::print(), clang::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().

Ty

const Type* clang::SplitQualType::Ty = nullptr

The locally-unqualified type.

Definition at line 864 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(), IsOverloadOrOverrideImpl(), clang::QualType::print(), clang::ObjCObjectType::stripObjCKindOfTypeAndQuals(), and clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().


The documentation for this struct was generated from the following file: