clang  3.7.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 1907 of file Stmt.h.

Member Function Documentation

child_range clang::SEHTryStmt::children ( )
inline

Definition at line 1946 of file Stmt.h.

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

Definition at line 1950 of file Stmt.h.

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

Definition at line 1032 of file Stmt.cpp.

References AttributeLangSupport::C.

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

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

Definition at line 1932 of file Stmt.h.

SEHExceptStmt * SEHTryStmt::getExceptHandler ( ) const

Returns 0 if not defined.

Definition at line 1038 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 1940 of file Stmt.h.

Referenced by getExceptHandler(), and getFinallyHandler().

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

Definition at line 1934 of file Stmt.h.

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

Definition at line 1929 of file Stmt.h.

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

Definition at line 1928 of file Stmt.h.

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

Definition at line 1936 of file Stmt.h.

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

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

Definition at line 1931 of file Stmt.h.

Friends And Related Function Documentation

friend class ASTReader
friend

Definition at line 1919 of file Stmt.h.

friend class ASTStmtReader
friend

Definition at line 1920 of file Stmt.h.


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