class SourceInfo
Declaration
class SourceInfo { /* full declaration omitted */ };
Description
Describes the statement/declaration an opcode was generated from.
Declared at: clang/lib/AST/Interp/Source.h:66
Member Variables
- private llvm::PointerUnion<const Decl*, const Stmt*> Source
Method Overview
- public SourceInfo()
- public SourceInfo(const clang::Stmt * E)
- public SourceInfo(const clang::Decl * D)
- public const clang::Decl * asDecl() const
- public const clang::Expr * asExpr() const
- public const clang::Stmt * asStmt() const
- public clang::SourceLocation getLoc() const
- public bool operator bool() const
Methods
¶SourceInfo()
SourceInfo()
Declared at: clang/lib/AST/Interp/Source.h:68
¶SourceInfo(const clang::Stmt* E)
SourceInfo(const clang::Stmt* E)
Declared at: clang/lib/AST/Interp/Source.h:69
Parameters
- const clang::Stmt* E
¶SourceInfo(const clang::Decl* D)
SourceInfo(const clang::Decl* D)
Declared at: clang/lib/AST/Interp/Source.h:70
Parameters
- const clang::Decl* D
¶const clang::Decl* asDecl() const
const clang::Decl* asDecl() const
Declared at: clang/lib/AST/Interp/Source.h:75
¶const clang::Expr* asExpr() const
const clang::Expr* asExpr() const
Declared at: clang/lib/AST/Interp/Source.h:76
¶const clang::Stmt* asStmt() const
const clang::Stmt* asStmt() const
Declared at: clang/lib/AST/Interp/Source.h:74
¶clang::SourceLocation getLoc() const
clang::SourceLocation getLoc() const
Declared at: clang/lib/AST/Interp/Source.h:72
¶bool operator bool() const
bool operator bool() const
Declared at: clang/lib/AST/Interp/Source.h:78