class BaseUsingDecl

Declaration

class BaseUsingDecl : public NamedDecl { /* full declaration omitted */ };

Description

Represents a C++ declaration that introduces decls from somewhere else. It provides a set of the shadow decls so introduced.

Declared at: clang/include/clang/AST/DeclCXX.h:3317

Inherits from: NamedDecl

Member Variables

private llvm::PointerIntPair<UsingShadowDecl*, 1, bool> FirstUsingShadow
The bool member of the pair is a bool flag a derived type may use (UsingDecl makes use of it).

Inherited from Decl:

protected NextInContextAndBits
protected Access
protected FromASTFile
protected IdentifierNamespace
protected CacheValidAndLinkage

Method Overview

Inherited from NamedDecl:

Inherited from Decl:

Methods

BaseUsingDecl(clang::Decl::Kind DK,
              clang::DeclContext* DC,
              clang::SourceLocation L,
              clang::DeclarationName N)

Declared at: clang/include/clang/AST/DeclCXX.h:3326

Parameters

clang::Decl::Kind DK
clang::DeclContext* DC
clang::SourceLocation L
clang::DeclarationName N

void addShadowDecl(clang::UsingShadowDecl* S)

Declared at: clang/include/clang/AST/DeclCXX.h:3399

Parameters

clang::UsingShadowDecl* S

void anchor()

Declared at: clang/include/clang/AST/DeclCXX.h:3330

static bool classof(const clang::Decl* D)

Declared at: clang/include/clang/AST/DeclCXX.h:3402

Parameters

const clang::Decl* D

static bool classofKind(clang::Decl::Kind K)

Declared at: clang/include/clang/AST/DeclCXX.h:3403

Parameters

clang::Decl::Kind K

bool getShadowFlag() const

Description

A bool flag for use by a derived type

Declared at: clang/include/clang/AST/DeclCXX.h:3334

void removeShadowDecl(clang::UsingShadowDecl* S)

Declared at: clang/include/clang/AST/DeclCXX.h:3400

Parameters

clang::UsingShadowDecl* S

void setShadowFlag(bool V)

Description

A bool flag a derived type may set

Declared at: clang/include/clang/AST/DeclCXX.h:3337

Parameters

bool V

clang::BaseUsingDecl::shadow_iterator
shadow_begin() const

Declared at: clang/include/clang/AST/DeclCXX.h:3387

clang::BaseUsingDecl::shadow_iterator shadow_end()
    const

Declared at: clang/include/clang/AST/DeclCXX.h:3391

unsigned int shadow_size() const

Description

Return the number of shadowed declarations associated with this using declaration.

Declared at: clang/include/clang/AST/DeclCXX.h:3395

clang::BaseUsingDecl::shadow_range shadows() const

Declared at: clang/include/clang/AST/DeclCXX.h:3383