clang API Documentation

clang::AnnotateAttr Class Reference

#include <Attr.h>

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

List of all members.

Public Member Functions

 AnnotateAttr (ASTContext &C, llvm::StringRef ann)
llvm::StringRef getAnnotation () const
virtual Attrclone (ASTContext &C) const

Static Public Member Functions

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

Detailed Description

Definition at line 199 of file Attr.h.


Constructor & Destructor Documentation

clang::AnnotateAttr::AnnotateAttr ( ASTContext C,
llvm::StringRef  ann 
) [inline]

Definition at line 201 of file Attr.h.

Referenced by clone().


Member Function Documentation

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

Definition at line 212 of file Attr.h.

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

Reimplemented from clang::Attr.

Definition at line 209 of file Attr.h.

References clang::Attr::getKind().

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

Implements clang::Attr.

Definition at line 141 of file AttrImpl.cpp.

References AnnotateAttr(), and getAnnotation().

llvm::StringRef clang::AnnotateAttr::getAnnotation (  )  const [inline]

Definition at line 204 of file Attr.h.

Referenced by clone(), and clang::CodeGen::CodeGenModule::EmitAnnotateAttr().


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