clang API Documentation

Public Types | Public Member Functions | Public Attributes
clang::driver::ObjCRuntime Class Reference

#include <ObjCRuntime.h>

Collaboration diagram for clang::driver::ObjCRuntime:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Kind { GNU, NeXT }

Public Member Functions

void setKind (Kind k)
Kind getKind () const
 ObjCRuntime ()

Public Attributes

unsigned HasARC: 1
unsigned HasWeak: 1
 True if the runtime supports ARC zeroing __weak.
unsigned HasSubscripting: 1
 True if the runtime supports subscripting methods.
unsigned HasTerminate: 1

Detailed Description

Definition at line 16 of file ObjCRuntime.h.


Member Enumeration Documentation

Enumerator:
GNU 
NeXT 

Definition at line 18 of file ObjCRuntime.h.


Constructor & Destructor Documentation

clang::driver::ObjCRuntime::ObjCRuntime ( ) [inline]

Definition at line 42 of file ObjCRuntime.h.


Member Function Documentation

Kind clang::driver::ObjCRuntime::getKind ( ) const [inline]
void clang::driver::ObjCRuntime::setKind ( Kind  k) [inline]

Definition at line 22 of file ObjCRuntime.h.

Referenced by clang::driver::tools::Clang::ConstructJob().


Member Data Documentation

True if the runtime provides native ARC entrypoints. ARC may still be usable without this if the tool-chain provides a statically-linked runtime support library.

Definition at line 28 of file ObjCRuntime.h.

Referenced by clang::driver::ToolChain::configureObjCRuntime(), clang::driver::toolchains::Darwin::configureObjCRuntime(), clang::driver::tools::Clang::ConstructJob(), and clang::driver::tools::darwin::Link::ConstructJob().

True if the runtime provides the following entrypoint: void objc_terminate(void); If available, this will be called instead of abort() when an exception is thrown out of an EH cleanup.

Definition at line 40 of file ObjCRuntime.h.

Referenced by clang::driver::ToolChain::configureObjCRuntime(), clang::driver::toolchains::Darwin::configureObjCRuntime(), and clang::driver::tools::Clang::ConstructJob().


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