class PcsAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::PcsAttr::PCSType pCS

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public static const char * ConvertPCSTypeToStr(clang::PcsAttr::PCSType Val)
  • public static bool ConvertStrToPCSType(llvm::StringRef Val, clang::PcsAttr::PCSType & Out)
  • public static clang::PcsAttr * Create(clang::ASTContext & Ctx, clang::PcsAttr::PCSType PCS, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::PcsAttr * Create(clang::ASTContext & Ctx, clang::PcsAttr::PCSType PCS, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::PcsAttr * CreateImplicit(clang::ASTContext & Ctx, clang::PcsAttr::PCSType PCS, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::PcsAttr * CreateImplicit(clang::ASTContext & Ctx, clang::PcsAttr::PCSType PCS, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public PcsAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::PcsAttr::PCSType PCS)
  • public static bool classof(const clang::Attr * A)
  • public clang::PcsAttr * clone(clang::ASTContext & C) const
  • public clang::PcsAttr::PCSType getPCS() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static const char* ConvertPCSTypeToStr(
    clang::PcsAttr::PCSType Val)

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

Parameters

clang::PcsAttr::PCSType Val

static bool ConvertStrToPCSType(
    llvm::StringRef Val,
    clang::PcsAttr::PCSType& Out)

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

Parameters

llvm::StringRef Val
clang::PcsAttr::PCSType& Out

static clang::PcsAttr* Create(
    clang::ASTContext& Ctx,
    clang::PcsAttr::PCSType PCS,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::PcsAttr::PCSType PCS
const clang::AttributeCommonInfo& CommonInfo

static clang::PcsAttr* Create(
    clang::ASTContext& Ctx,
    clang::PcsAttr::PCSType PCS,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::PcsAttr::PCSType PCS
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::PcsAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::PcsAttr::PCSType PCS,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::PcsAttr::PCSType PCS
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::PcsAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::PcsAttr::PCSType PCS,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::PcsAttr::PCSType PCS
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

PcsAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::PcsAttr::PCSType PCS)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::PcsAttr::PCSType PCS

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::PcsAttr::PCSType getPCS() const

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

const char* getSpelling() const

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

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

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

Parameters

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