class QualifierCollector

Declaration

class QualifierCollector : public Qualifiers { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/AST/Type.h:6499

Inherits from: Qualifiers

Member Variables

Method Overview

  • public QualifierCollector(clang::Qualifiers Qs = clang::Qualifiers())
  • public clang::QualType apply(const clang::ASTContext & Context, clang::QualType QT) const
  • public clang::QualType apply(const clang::ASTContext & Context, const clang::Type * T) const
  • public const clang::Type * strip(clang::QualType type)

Inherited from Qualifiers:

Methods

QualifierCollector(
    clang::Qualifiers Qs = clang::Qualifiers())

Declared at: clang/include/clang/AST/Type.h:6501

Parameters

clang::Qualifiers Qs = clang::Qualifiers()

clang::QualType apply(
    const clang::ASTContext& Context,
    clang::QualType QT) const

Description

Apply the collected qualifiers to the given type.

Declared at: clang/include/clang/AST/Type.h:6517

Parameters

const clang::ASTContext& Context
clang::QualType QT

clang::QualType apply(
    const clang::ASTContext& Context,
    const clang::Type* T) const

Description

Apply the collected qualifiers to the given type.

Declared at: clang/include/clang/AST/Type.h:6520

Parameters

const clang::ASTContext& Context
const clang::Type* T

const clang::Type* strip(clang::QualType type)

Description

Collect any qualifiers on the given type and return an unqualified type. The qualifiers are assumed to be consistent with those already in the type.

Declared at: clang/include/clang/AST/Type.h:6506

Parameters

clang::QualType type