clang API Documentation
#include <Expr.h>


Public Member Functions | |
| TypesCompatibleExpr (QualType ReturnType, SourceLocation BLoc, TypeSourceInfo *tinfo1, TypeSourceInfo *tinfo2, SourceLocation RP) | |
| TypesCompatibleExpr (EmptyShell Empty) | |
| Build an empty __builtin_type_compatible_p expression. | |
| TypeSourceInfo * | getArgTInfo1 () const |
| void | setArgTInfo1 (TypeSourceInfo *TInfo) |
| TypeSourceInfo * | getArgTInfo2 () const |
| void | setArgTInfo2 (TypeSourceInfo *TInfo) |
| QualType | getArgType1 () const |
| QualType | getArgType2 () const |
| SourceLocation | getBuiltinLoc () const |
| void | setBuiltinLoc (SourceLocation L) |
| SourceLocation | getRParenLoc () const |
| void | setRParenLoc (SourceLocation L) |
| virtual SourceRange | getSourceRange () const |
| virtual child_iterator | child_begin () |
| virtual child_iterator | child_end () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
| static bool | classof (const TypesCompatibleExpr *) |
TypesCompatibleExpr - GNU builtin-in function __builtin_types_compatible_p. This AST node represents a function that returns 1 if two *types* (not expressions) are compatible. The result of this built-in function can be used in integer constant expressions.
Definition at line 2648 of file Expr.h.
| clang::TypesCompatibleExpr::TypesCompatibleExpr | ( | QualType | ReturnType, | |
| SourceLocation | BLoc, | |||
| TypeSourceInfo * | tinfo1, | |||
| TypeSourceInfo * | tinfo2, | |||
| SourceLocation | RP | |||
| ) | [inline] |
| clang::TypesCompatibleExpr::TypesCompatibleExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Build an empty __builtin_type_compatible_p expression.
| Stmt::child_iterator TypesCompatibleExpr::child_begin | ( | ) | [virtual] |
Implements clang::Stmt.
| Stmt::child_iterator TypesCompatibleExpr::child_end | ( | ) | [virtual] |
Implements clang::Stmt.
| static bool clang::TypesCompatibleExpr::classof | ( | const TypesCompatibleExpr * | ) | [inline, static] |
| static bool clang::TypesCompatibleExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 2681 of file Expr.h.
References clang::Stmt::getStmtClass().
| TypeSourceInfo* clang::TypesCompatibleExpr::getArgTInfo1 | ( | ) | const [inline] |
Definition at line 2664 of file Expr.h.
Referenced by clang::ASTStmtWriter::VisitTypesCompatibleExpr().
| TypeSourceInfo* clang::TypesCompatibleExpr::getArgTInfo2 | ( | ) | const [inline] |
Definition at line 2666 of file Expr.h.
Referenced by clang::ASTStmtWriter::VisitTypesCompatibleExpr().
| QualType clang::TypesCompatibleExpr::getArgType1 | ( | ) | const [inline] |
Definition at line 2669 of file Expr.h.
References clang::TypeSourceInfo::getType().
| QualType clang::TypesCompatibleExpr::getArgType2 | ( | ) | const [inline] |
Definition at line 2670 of file Expr.h.
References clang::TypeSourceInfo::getType().
| SourceLocation clang::TypesCompatibleExpr::getBuiltinLoc | ( | ) | const [inline] |
Definition at line 2672 of file Expr.h.
Referenced by clang::ASTStmtWriter::VisitTypesCompatibleExpr().
| SourceLocation clang::TypesCompatibleExpr::getRParenLoc | ( | ) | const [inline] |
Definition at line 2675 of file Expr.h.
Referenced by clang::ASTStmtWriter::VisitTypesCompatibleExpr().
| virtual SourceRange clang::TypesCompatibleExpr::getSourceRange | ( | ) | const [inline, virtual] |
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.
Implements clang::Expr.
| void clang::TypesCompatibleExpr::setArgTInfo1 | ( | TypeSourceInfo * | TInfo | ) | [inline] |
Definition at line 2665 of file Expr.h.
Referenced by clang::ASTStmtReader::VisitTypesCompatibleExpr().
| void clang::TypesCompatibleExpr::setArgTInfo2 | ( | TypeSourceInfo * | TInfo | ) | [inline] |
Definition at line 2667 of file Expr.h.
Referenced by clang::ASTStmtReader::VisitTypesCompatibleExpr().
| void clang::TypesCompatibleExpr::setBuiltinLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 2673 of file Expr.h.
Referenced by clang::ASTStmtReader::VisitTypesCompatibleExpr().
| void clang::TypesCompatibleExpr::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 2676 of file Expr.h.
Referenced by clang::ASTStmtReader::VisitTypesCompatibleExpr().