clang  3.8.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::SEHTryStmt Class Reference

#include <Stmt.h>

Inheritance diagram for clang::SEHTryStmt:
[legend]
Collaboration diagram for clang::SEHTryStmt:
[legend]

Public Member Functions

SourceLocation getLocStart () const LLVM_READONLY
 
SourceLocation getLocEnd () const LLVM_READONLY
 
SourceLocation getTryLoc () const
 
SourceLocation getEndLoc () const
 
bool getIsCXXTry () const
 
CompoundStmtgetTryBlock () const
 
StmtgetHandler () const
 
SEHExceptStmtgetExceptHandler () const
 Returns 0 if not defined. More...
 
SEHFinallyStmtgetFinallyHandler () const
 
child_range children ()
 

Static Public Member Functions

static SEHTryStmtCreate (const ASTContext &C, bool isCXXTry, SourceLocation TryLoc, Stmt *TryBlock, Stmt *Handler)
 
static bool classof (const Stmt *T)
 

Friends

class ASTReader
 
class ASTStmtReader
 

Detailed Description

Definition at line 1900 of file Stmt.h.

Member Function Documentation

child_range clang::SEHTryStmt::children ( )
inline

Definition at line 1939 of file Stmt.h.

static bool clang::SEHTryStmt::classof ( const Stmt T)
inlinestatic

Definition at line 1943 of file Stmt.h.

SEHTryStmt * SEHTryStmt::Create ( const ASTContext C,
bool  isCXXTry,
SourceLocation  TryLoc,
Stmt TryBlock,
Stmt Handler 
)
static

Definition at line 907 of file Stmt.cpp.

References AttributeLangSupport::C.

Referenced by clang::Sema::ActOnSEHTryBlock().

SourceLocation clang::SEHTryStmt::getEndLoc ( ) const
inline

Definition at line 1925 of file Stmt.h.

SEHExceptStmt * SEHTryStmt::getExceptHandler ( ) const

Returns 0 if not defined.

Definition at line 913 of file Stmt.cpp.

References getHandler().

Referenced by clang::CodeGen::CodeGenFunction::EnterSEHTryStmt(), and clang::CodeGen::CodeGenFunction::ExitSEHTryStmt().

SEHFinallyStmt * SEHTryStmt::getFinallyHandler ( ) const
Stmt* clang::SEHTryStmt::getHandler ( ) const
inline

Definition at line 1933 of file Stmt.h.

Referenced by getExceptHandler(), and getFinallyHandler().

bool clang::SEHTryStmt::getIsCXXTry ( ) const
inline

Definition at line 1927 of file Stmt.h.

SourceLocation clang::SEHTryStmt::getLocEnd ( ) const
inline

Definition at line 1922 of file Stmt.h.

SourceLocation clang::SEHTryStmt::getLocStart ( ) const
inline

Definition at line 1921 of file Stmt.h.

CompoundStmt* clang::SEHTryStmt::getTryBlock ( ) const
inline

Definition at line 1929 of file Stmt.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitSEHTryStmt().

SourceLocation clang::SEHTryStmt::getTryLoc ( ) const
inline

Definition at line 1924 of file Stmt.h.

Friends And Related Function Documentation

friend class ASTReader
friend

Definition at line 1912 of file Stmt.h.

friend class ASTStmtReader
friend

Definition at line 1913 of file Stmt.h.


The documentation for this class was generated from the following files: