class PseudoDestructorTypeStorage

Declaration

class PseudoDestructorTypeStorage { /* full declaration omitted */ };

Description

Stores the type being destroyed by a pseudo-destructor expression.

Declared at: clang/include/clang/AST/ExprCXX.h:2483

Member Variables

private llvm::PointerUnion<TypeSourceInfo*, IdentifierInfo*> Type
Either the type source information or the name of the type, if it couldn't be resolved due to type-dependence.
private clang::SourceLocation Location
The starting source location of the pseudo-destructor type.

Method Overview

Methods

PseudoDestructorTypeStorage()

Declared at: clang/include/clang/AST/ExprCXX.h:2492

PseudoDestructorTypeStorage(
    clang::IdentifierInfo* II,
    clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/ExprCXX.h:2494

Parameters

clang::IdentifierInfo* II
clang::SourceLocation Loc

PseudoDestructorTypeStorage(
    clang::TypeSourceInfo* Info)

Declared at: clang/include/clang/AST/ExprCXX.h:2497

Parameters

clang::TypeSourceInfo* Info

clang::IdentifierInfo* getIdentifier() const

Declared at: clang/include/clang/AST/ExprCXX.h:2503

clang::SourceLocation getLocation() const

Declared at: clang/include/clang/AST/ExprCXX.h:2507

clang::TypeSourceInfo* getTypeSourceInfo() const

Declared at: clang/include/clang/AST/ExprCXX.h:2499