clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Friends
clang::IndirectFieldDecl Class Reference

#include <Decl.h>

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

List of all members.

Public Types

typedef NamedDecl *const * chain_iterator
typedef llvm::iterator_range
< chain_iterator
chain_range

Public Member Functions

chain_range chain () const
chain_iterator chain_begin () const
chain_iterator chain_end () const
unsigned getChainingSize () const
FieldDeclgetAnonField () const
VarDeclgetVarDecl () const

Static Public Member Functions

static IndirectFieldDeclCreate (ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, QualType T, NamedDecl **CH, unsigned CHS)
static IndirectFieldDeclCreateDeserialized (ASTContext &C, unsigned ID)
static bool classof (const Decl *D)
static bool classofKind (Kind K)

Friends

class ASTDeclReader

Detailed Description

IndirectFieldDecl - An instance of this class is created to represent a field injected from an anonymous union/struct into the parent scope. IndirectFieldDecl are always implicit.

Definition at line 2393 of file Decl.h.


Member Typedef Documentation

Definition at line 2410 of file Decl.h.

Definition at line 2411 of file Decl.h.


Member Function Documentation

static bool clang::IndirectFieldDecl::classof ( const Decl D) [inline, static]

Reimplemented from clang::ValueDecl.

Definition at line 2432 of file Decl.h.

References clang::Decl::getKind().

static bool clang::IndirectFieldDecl::classofKind ( Kind  K) [inline, static]

Reimplemented from clang::ValueDecl.

Definition at line 2433 of file Decl.h.

Referenced by isFieldOrIndirectField().

Definition at line 3844 of file Decl.cpp.

References AttributeLangSupport::C.

Definition at line 2426 of file Decl.h.

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


Friends And Related Function Documentation

friend class ASTDeclReader [friend]

Reimplemented from clang::Decl.

Definition at line 2434 of file Decl.h.


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