clang 17.0.0git
|
Describes the statement/declaration an opcode was generated from. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/Source.h"
Public Member Functions | |
SourceInfo () | |
SourceInfo (const Stmt *E) | |
SourceInfo (const Decl *D) | |
SourceLocation | getLoc () 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 |
const Expr * SourceInfo::asExpr | ( | ) | const |
Definition at line 25 of file Source.cpp.
Referenced by clang::interp::CheckFloatResult(), clang::interp::CheckThis(), and getLoc().
|
inline |
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().