class ObjCBridgedCastExpr

Declaration

class ObjCBridgedCastExpr : public ExplicitCastExpr,
                            private TrailingObjects { /* full declaration omitted */ };

Description

An Objective-C "bridged" cast expression, which casts between Objective-C pointers and C pointers, transferring ownership in the process.

Declared at: clang/include/clang/AST/ExprObjC.h:1625

Inherits from: ExplicitCastExpr, TrailingObjects

Member Variables

private clang::SourceLocation LParenLoc
private clang::SourceLocation BridgeKeywordLoc
private unsigned int Kind

Inherited from Stmt:

protected

Method Overview

Inherited from ExplicitCastExpr:

Inherited from CastExpr:

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

ObjCBridgedCastExpr(
    clang::SourceLocation LParenLoc,
    clang::ObjCBridgeCastKind Kind,
    clang::CastKind CK,
    clang::SourceLocation BridgeKeywordLoc,
    clang::TypeSourceInfo* TSInfo,
    clang::Expr* Operand)

Declared at: clang/include/clang/AST/ExprObjC.h:1638

Parameters

clang::SourceLocation LParenLoc
clang::ObjCBridgeCastKind Kind
clang::CastKind CK
clang::SourceLocation BridgeKeywordLoc
clang::TypeSourceInfo* TSInfo
clang::Expr* Operand

ObjCBridgedCastExpr(clang::Stmt::EmptyShell Shell)

Description

Construct an empty Objective-C bridged cast.

Declared at: clang/include/clang/AST/ExprObjC.h:1646

Parameters

clang::Stmt::EmptyShell Shell

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/ExprObjC.h:1668

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:1662

clang::SourceLocation getBridgeKeywordLoc() const

Description

The location of the bridge keyword.

Declared at: clang/include/clang/AST/ExprObjC.h:1660

clang::ObjCBridgeCastKind getBridgeKind() const

Description

Determine which kind of bridge is being performed via this cast.

Declared at: clang/include/clang/AST/ExprObjC.h:1652

llvm::StringRef getBridgeKindName() const

Description

Retrieve the kind of bridge being performed as a string.

Declared at: clang/include/clang/AST/ExprObjC.h:1657

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:1664

clang::SourceLocation getLParenLoc() const

Declared at: clang/include/clang/AST/ExprObjC.h:1649