class EnforceTCBLeafAttr

Declaration

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

Description

Attr - This represents one attribute.

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3858

Inherits from: InheritableAttr

Member Variables

private unsigned int tCBNameLength
private char* tCBName

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public static clang::EnforceTCBLeafAttr * Create(clang::ASTContext & Ctx, llvm::StringRef TCBName, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::EnforceTCBLeafAttr * Create(clang::ASTContext & Ctx, llvm::StringRef TCBName, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::EnforceTCBLeafAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef TCBName, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::EnforceTCBLeafAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef TCBName, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public EnforceTCBLeafAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef TCBName)
  • public static bool classof(const clang::Attr * A)
  • public clang::EnforceTCBLeafAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public llvm::StringRef getTCBName() const
  • public unsigned int getTCBNameLength() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setTCBName(clang::ASTContext & C, llvm::StringRef S)

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::EnforceTCBLeafAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef TCBName,
    const clang::AttributeCommonInfo& CommonInfo)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3873

Parameters

clang::ASTContext& Ctx
llvm::StringRef TCBName
const clang::AttributeCommonInfo& CommonInfo

static clang::EnforceTCBLeafAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef TCBName,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3875

Parameters

clang::ASTContext& Ctx
llvm::StringRef TCBName
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::EnforceTCBLeafAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef TCBName,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3872

Parameters

clang::ASTContext& Ctx
llvm::StringRef TCBName
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::EnforceTCBLeafAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef TCBName,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3874

Parameters

clang::ASTContext& Ctx
llvm::StringRef TCBName
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

EnforceTCBLeafAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef TCBName)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3878

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
llvm::StringRef TCBName

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

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3901

Parameters

const clang::Attr* A

clang::EnforceTCBLeafAttr* clone(
    clang::ASTContext& C) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3882

Parameters

clang::ASTContext& C

const char* getSpelling() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3885

llvm::StringRef getTCBName() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3886

unsigned int getTCBNameLength() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3889

void printPretty(
    llvm::raw_ostream& OS,
    const clang::PrintingPolicy& Policy) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3883

Parameters

llvm::raw_ostream& OS
const clang::PrintingPolicy& Policy

void setTCBName(clang::ASTContext& C,
                llvm::StringRef S)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:3892

Parameters

clang::ASTContext& C
llvm::StringRef S