class DependentSizedExtVectorType

Declaration

class DependentSizedExtVectorType : public Type, public Node { /* full declaration omitted */ };

Description

Represents an extended vector type where either the type or size is dependent. For example:

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

Inherits from: Type, FoldingSetBase::Node

Member Variables

private const clang::ASTContext& Context
private clang::Expr* SizeExpr
private clang::QualType ElementType
The element type of the array.
private clang::SourceLocation loc

Inherited from Type:

protected

Method Overview

  • private DependentSizedExtVectorType(const clang::ASTContext & Context, clang::QualType ElementType, clang::QualType can, clang::Expr * SizeExpr, clang::SourceLocation loc)
  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, const clang::ASTContext & Context, clang::QualType ElementType, clang::Expr * SizeExpr)
  • public static bool classof(const clang::Type * T)
  • public clang::QualType desugar() const
  • public clang::SourceLocation getAttributeLoc() const
  • public clang::QualType getElementType() const
  • public clang::Expr * getSizeExpr() const
  • public bool isSugared() const

Inherited from FoldingSetBase::Node:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    DependentSizedExtVectorType(
        const clang::ASTContext& Context,
        clang::QualType ElementType,
        clang::QualType can,
        clang::Expr* SizeExpr,
        clang::SourceLocation loc)

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

    Parameters

    const clang::ASTContext& Context
    clang::QualType ElementType
    clang::QualType can
    clang::Expr* SizeExpr
    clang::SourceLocation loc

    void Profile(llvm::FoldingSetNodeID& ID)

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

    Parameters

    llvm::FoldingSetNodeID& ID

    static void Profile(
        llvm::FoldingSetNodeID& ID,
        const clang::ASTContext& Context,
        clang::QualType ElementType,
        clang::Expr* SizeExpr)

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

    Parameters

    llvm::FoldingSetNodeID& ID
    const clang::ASTContext& Context
    clang::QualType ElementType
    clang::Expr* SizeExpr

    static bool classof(const clang::Type* T)

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

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

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

    clang::SourceLocation getAttributeLoc() const

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

    clang::QualType getElementType() const

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

    clang::Expr* getSizeExpr() const

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

    bool isSugared() const

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