clang API Documentation
#include <ExprCXX.h>


Public Member Functions | |
| CXXScalarValueInitExpr (QualType Type, TypeSourceInfo *TypeInfo, SourceLocation rParenLoc) | |
| Create an explicitly-written scalar-value initialization expression. | |
| CXXScalarValueInitExpr (EmptyShell Shell) | |
| TypeSourceInfo * | getTypeSourceInfo () const |
| SourceLocation | getRParenLoc () const |
| SourceRange | getSourceRange () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const CXXScalarValueInitExpr *) |
Friends | |
| class | ASTStmtReader |
CXXScalarValueInitExpr - [C++ 5.2.3p2] Expression "T()" which creates a value-initialized rvalue of type T, which is a non-class type.
| clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr | ( | QualType | Type, |
| TypeSourceInfo * | TypeInfo, | ||
| SourceLocation | rParenLoc | ||
| ) | [inline] |
Create an explicitly-written scalar-value initialization expression.
| clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr | ( | EmptyShell | Shell | ) | [inline, explicit] |
| child_range clang::CXXScalarValueInitExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| static bool clang::CXXScalarValueInitExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
| static bool clang::CXXScalarValueInitExpr::classof | ( | const CXXScalarValueInitExpr * | ) | [inline, static] |
| SourceLocation clang::CXXScalarValueInitExpr::getRParenLoc | ( | ) | const [inline] |
| SourceRange CXXScalarValueInitExpr::getSourceRange | ( | ) | const |
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.
Definition at line 39 of file ExprCXX.cpp.
| TypeSourceInfo* clang::CXXScalarValueInitExpr::getTypeSourceInfo | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.