class InheritableAttr

Declaration

class InheritableAttr : public Attr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

Declared at: clang/include/clang/AST/Attr.h:137

Inherits from: Attr

Member Variables

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

InheritableAttr(
    clang::ASTContext& Context,
    const clang::AttributeCommonInfo& CommonInfo,
    attr::Kind AK,
    bool IsLateParsed,
    bool InheritEvenIfAlreadyPresent)

Declared at: clang/include/clang/AST/Attr.h:139

Parameters

clang::ASTContext& Context
const clang::AttributeCommonInfo& CommonInfo
attr::Kind AK
bool IsLateParsed
bool InheritEvenIfAlreadyPresent

static bool classof(const clang::Attr* A)

Declared at: clang/include/clang/AST/Attr.h:156

Parameters

const clang::Attr* A

void setInherited(bool I)

Declared at: clang/include/clang/AST/Attr.h:147

Parameters

bool I

bool shouldInheritEvenIfAlreadyPresent() const

Description

Should this attribute be inherited from a prior declaration even if it's explicitly provided in the current declaration?

Declared at: clang/include/clang/AST/Attr.h:151