class DependentVectorType

Declaration

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

Description

Represents a vector type where either the type or size is dependent. / For example:

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

Inherits from: Type, FoldingSetBase::Node

Member Variables

private const clang::ASTContext& Context
private clang::QualType ElementType
private clang::Expr* SizeExpr
private clang::SourceLocation Loc

Inherited from Type:

protected

Method Overview

  • private DependentVectorType(const clang::ASTContext & Context, clang::QualType ElementType, clang::QualType CanonType, clang::Expr * SizeExpr, clang::SourceLocation Loc, VectorType::VectorKind vecKind)
  • public void Profile(llvm::FoldingSetNodeID & ID)
  • public static void Profile(llvm::FoldingSetNodeID & ID, const clang::ASTContext & Context, clang::QualType ElementType, const clang::Expr * SizeExpr, VectorType::VectorKind VecKind)
  • 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 VectorType::VectorKind getVectorKind() const
  • public bool isSugared() const

Inherited from FoldingSetBase::Node:

Inherited from Type:

Inherited from ExtQualsTypeCommonBase:

    Methods

    DependentVectorType(
        const clang::ASTContext& Context,
        clang::QualType ElementType,
        clang::QualType CanonType,
        clang::Expr* SizeExpr,
        clang::SourceLocation Loc,
        VectorType::VectorKind vecKind)

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

    Parameters

    const clang::ASTContext& Context
    clang::QualType ElementType
    clang::QualType CanonType
    clang::Expr* SizeExpr
    clang::SourceLocation Loc
    VectorType::VectorKind vecKind

    void Profile(llvm::FoldingSetNodeID& ID)

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

    Parameters

    llvm::FoldingSetNodeID& ID

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

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

    Parameters

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

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

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

    Parameters

    const clang::Type* T

    clang::QualType desugar() const

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

    clang::SourceLocation getAttributeLoc() const

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

    clang::QualType getElementType() const

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

    clang::Expr* getSizeExpr() const

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

    VectorType::VectorKind getVectorKind() const

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

    bool isSugared() const

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