class CXXUuidofExpr

Declaration

class CXXUuidofExpr : public Expr { /* full declaration omitted */ };

Description

A Microsoft C++ @c __uuidof expression, which gets the _GUID that corresponds to the supplied type or expression. This represents code like @c __uuidof(COMTYPE) or @c __uuidof(*comPtr)

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

Inherits from: Expr

Member Variables

private llvm::PointerUnion<Stmt*, TypeSourceInfo*> Operand
private clang::MSGuidDecl* Guid
private clang::SourceRange Range

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

CXXUuidofExpr(clang::QualType Ty,
              clang::TypeSourceInfo* Operand,
              clang::MSGuidDecl* Guid,
              clang::SourceRange R)

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

Parameters

clang::QualType Ty
clang::TypeSourceInfo* Operand
clang::MSGuidDecl* Guid
clang::SourceRange R

CXXUuidofExpr(clang::QualType Ty,
              clang::Expr* Operand,
              clang::MSGuidDecl* Guid,
              clang::SourceRange R)

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

Parameters

clang::QualType Ty
clang::Expr* Operand
clang::MSGuidDecl* Guid
clang::SourceRange R

CXXUuidofExpr(clang::Stmt::EmptyShell Empty,
              bool isExpr)

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

Parameters

clang::Stmt::EmptyShell Empty
bool isExpr

clang::Stmt::child_range children()

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

clang::Stmt::const_child_range children() const

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

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

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

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

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

clang::SourceLocation getEndLoc() const

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

clang::Expr* getExprOperand() const

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

clang::MSGuidDecl* getGuidDecl() const

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

clang::SourceRange getSourceRange() const

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

clang::QualType getTypeOperand(
    clang::ASTContext& Context) const

Description

Retrieves the type operand of this __uuidof() expression after various required adjustments (removing reference types, cv-qualifiers).

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

Parameters

clang::ASTContext& Context

clang::TypeSourceInfo* getTypeOperandSourceInfo()
    const

Description

Retrieve source information for the type operand.

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

bool isTypeOperand() const

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

void setSourceRange(clang::SourceRange R)

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

Parameters

clang::SourceRange R