clang API Documentation

clang::SentinelAttr Class Reference

#include <Attr.h>

Inheritance diagram for clang::SentinelAttr:
Inheritance graph
[legend]
Collaboration diagram for clang::SentinelAttr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SentinelAttr (int sentinel_val, int nullPos)
int getSentinel () const
int getNullPos () const
virtual Attrclone (ASTContext &C) const

Static Public Member Functions

static bool classof (const Attr *A)
static bool classof (const SentinelAttr *A)

Detailed Description

Definition at line 509 of file Attr.h.


Constructor & Destructor Documentation

clang::SentinelAttr::SentinelAttr ( int  sentinel_val,
int  nullPos 
) [inline]

Definition at line 512 of file Attr.h.

Referenced by clone().


Member Function Documentation

static bool clang::SentinelAttr::classof ( const SentinelAttr A  )  [inline, static]

Definition at line 521 of file Attr.h.

static bool clang::SentinelAttr::classof ( const Attr A  )  [inline, static]

Reimplemented from clang::Attr.

Definition at line 520 of file Attr.h.

References clang::Attr::getKind().

Attr * SentinelAttr::clone ( ASTContext C  )  const [virtual]

Implements clang::Attr.

Definition at line 209 of file AttrImpl.cpp.

References SentinelAttr().

int clang::SentinelAttr::getNullPos (  )  const [inline]

Definition at line 515 of file Attr.h.

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

int clang::SentinelAttr::getSentinel (  )  const [inline]

Definition at line 514 of file Attr.h.

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


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