clang API Documentation
#include <ExprCXX.h>


Public Member Functions | |
| CXXUuidofExpr (QualType Ty, TypeSourceInfo *Operand, SourceRange R) | |
| CXXUuidofExpr (QualType Ty, Expr *Operand, SourceRange R) | |
| CXXUuidofExpr (EmptyShell Empty, bool isExpr) | |
| bool | isTypeOperand () const |
| QualType | getTypeOperand () const |
| Retrieves the type operand of this __uuidof() expression after various required adjustments (removing reference types, cv-qualifiers). | |
| TypeSourceInfo * | getTypeOperandSourceInfo () const |
| Retrieve source information for the type operand. | |
| void | setTypeOperandSourceInfo (TypeSourceInfo *TSI) |
| Expr * | getExprOperand () const |
| void | setExprOperand (Expr *E) |
| SourceRange | getSourceRange () const LLVM_READONLY |
| void | setSourceRange (SourceRange R) |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const CXXUuidofExpr *) |
CXXUuidofExpr - A microsoft C++ __uuidof expression, which gets the _GUID that corresponds to the supplied type or expression.
This represents code like __uuidof(COMTYPE) or __uuidof(*comPtr)
| clang::CXXUuidofExpr::CXXUuidofExpr | ( | QualType | Ty, |
| TypeSourceInfo * | Operand, | ||
| SourceRange | R | ||
| ) | [inline] |
| clang::CXXUuidofExpr::CXXUuidofExpr | ( | QualType | Ty, |
| Expr * | Operand, | ||
| SourceRange | R | ||
| ) | [inline] |
| clang::CXXUuidofExpr::CXXUuidofExpr | ( | EmptyShell | Empty, |
| bool | isExpr | ||
| ) | [inline] |
| child_range clang::CXXUuidofExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
Definition at line 612 of file ExprCXX.h.
References isTypeOperand().
| static bool clang::CXXUuidofExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 606 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
| static bool clang::CXXUuidofExpr::classof | ( | const CXXUuidofExpr * | ) | [inline, static] |
| Expr* clang::CXXUuidofExpr::getExprOperand | ( | ) | const [inline] |
Definition at line 593 of file ExprCXX.h.
References isTypeOperand().
| SourceRange clang::CXXUuidofExpr::getSourceRange | ( | ) | const [inline] |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.
Reimplemented from clang::Stmt.
| QualType CXXUuidofExpr::getTypeOperand | ( | ) | const |
Retrieves the type operand of this __uuidof() expression after various required adjustments (removing reference types, cv-qualifiers).
Definition at line 32 of file ExprCXX.cpp.
References clang::QualType::getNonReferenceType(), clang::Expr::getType(), clang::QualType::getUnqualifiedType(), and isTypeOperand().
| TypeSourceInfo* clang::CXXUuidofExpr::getTypeOperandSourceInfo | ( | ) | const [inline] |
Retrieve source information for the type operand.
Definition at line 583 of file ExprCXX.h.
References isTypeOperand().
| bool clang::CXXUuidofExpr::isTypeOperand | ( | ) | const [inline] |
Definition at line 576 of file ExprCXX.h.
Referenced by children(), getExprOperand(), getTypeOperand(), getTypeOperandSourceInfo(), setExprOperand(), and setTypeOperandSourceInfo().
| void clang::CXXUuidofExpr::setExprOperand | ( | Expr * | E | ) | [inline] |
Definition at line 598 of file ExprCXX.h.
References isTypeOperand().
| void clang::CXXUuidofExpr::setSourceRange | ( | SourceRange | R | ) | [inline] |
| void clang::CXXUuidofExpr::setTypeOperandSourceInfo | ( | TypeSourceInfo * | TSI | ) | [inline] |
Definition at line 588 of file ExprCXX.h.
References isTypeOperand().