|
clang 22.0.0git
|
Describes the statement/declaration an opcode was generated from. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Source.h"
Public Member Functions | |
| SourceInfo () | |
| SourceInfo (const Stmt *E) | |
| SourceInfo (const Decl *D) | |
| SourceLocation | getLoc () const |
| SourceRange | getRange () const |
| const Stmt * | asStmt () const |
| const Decl * | asDecl () const |
| const Expr * | asExpr () const |
| operator bool () const | |
Describes the statement/declaration an opcode was generated from.
|
inline |
|
inline |
|
inline |
Definition at line 85 of file Source.h.
Referenced by getLoc(), and getRange().
| const Expr * SourceInfo::asExpr | ( | ) | const |
Definition at line 35 of file Source.cpp.
Referenced by getLoc(), and getRange().
|
inline |
Definition at line 82 of file Source.h.
Referenced by getLoc(), and getRange().
| SourceLocation SourceInfo::getLoc | ( | ) | const |
Definition at line 15 of file Source.cpp.
References asDecl(), asExpr(), and asStmt().
Referenced by clang::interp::State::CCEDiag(), clang::interp::State::FFDiag(), and clang::interp::SourceMapper::getLocation().
| SourceRange SourceInfo::getRange | ( | ) | const |
Definition at line 25 of file Source.cpp.
References asDecl(), asExpr(), and asStmt().
Referenced by clang::interp::SourceMapper::getRange().