clang API Documentation

Public Member Functions
clang::QualifierCollector Class Reference

A qualifier set is used to build a set of qualifiers. More...

#include <Type.h>

Inheritance diagram for clang::QualifierCollector:
Inheritance graph
[legend]
Collaboration diagram for clang::QualifierCollector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QualifierCollector (Qualifiers Qs=Qualifiers())
const Typestrip (QualType type)
QualType apply (const ASTContext &Context, QualType QT) const
 Apply the collected qualifiers to the given type.
QualType apply (const ASTContext &Context, const Type *T) const
 Apply the collected qualifiers to the given type.

Detailed Description

A qualifier set is used to build a set of qualifiers.

Definition at line 4645 of file Type.h.


Constructor & Destructor Documentation

Definition at line 4647 of file Type.h.


Member Function Documentation

QualType QualifierCollector::apply ( const ASTContext Context,
QualType  QT 
) const
QualType QualifierCollector::apply ( const ASTContext Context,
const Type T 
) const

Apply the collected qualifiers to the given type.

Definition at line 2066 of file Type.cpp.

References clang::Qualifiers::getFastQualifiers(), clang::ASTContext::getQualifiedType(), and clang::Qualifiers::hasNonFastQualifiers().

const Type* clang::QualifierCollector::strip ( QualType  type) [inline]

The documentation for this class was generated from the following files: