clang API Documentation

Public Member Functions | Public Attributes | Friends
clang::SplitQualType Struct Reference

#include <Type.h>

Collaboration diagram for clang::SplitQualType:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SplitQualType ()
 SplitQualType (const Type *ty, Qualifiers qs)
SplitQualType getSingleStepDesugaredType () const
std::pair< const Type
*, Qualifiers
asPair () const

Public Attributes

const TypeTy
 The locally-unqualified type.
Qualifiers Quals
 The local qualifiers.

Friends

bool operator== (SplitQualType a, SplitQualType b)
bool operator!= (SplitQualType a, SplitQualType b)

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 495 of file Type.h.


Constructor & Destructor Documentation

Definition at line 502 of file Type.h.

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

Definition at line 503 of file Type.h.


Member Function Documentation

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

Definition at line 508 of file Type.h.

Definition at line 4672 of file Type.h.

References clang::Qualifiers::addConsistentQualifiers(), and Quals.

Referenced by handleObjCOwnershipTypeAttr().


Friends And Related Function Documentation

bool operator!= ( SplitQualType  a,
SplitQualType  b 
) [friend]

Definition at line 515 of file Type.h.

bool operator== ( SplitQualType  a,
SplitQualType  b 
) [friend]

Definition at line 512 of file Type.h.


Member Data Documentation


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