class OpenCLLocalAddressSpaceAttr

Declaration

class OpenCLLocalAddressSpaceAttr : public TypeAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: TypeAttr

Member Variables

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::OpenCLLocalAddressSpaceAttr * Create(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::OpenCLLocalAddressSpaceAttr * Create(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, OpenCLLocalAddressSpaceAttr::Spelling S = static_cast<clang::OpenCLLocalAddressSpaceAttr::Spelling>(SpellingNotCalculated))
  • public static clang::OpenCLLocalAddressSpaceAttr * CreateImplicit(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::OpenCLLocalAddressSpaceAttr * CreateImplicit(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, OpenCLLocalAddressSpaceAttr::Spelling S = static_cast<clang::OpenCLLocalAddressSpaceAttr::Spelling>(SpellingNotCalculated))
  • public OpenCLLocalAddressSpaceAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static bool classof(const clang::Attr * A)
  • public clang::OpenCLLocalAddressSpaceAttr * clone(clang::ASTContext & C) const
  • public clang::OpenCLLocalAddressSpaceAttr::Spelling getSemanticSpelling() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from TypeAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::OpenCLLocalAddressSpaceAttr* Create(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo

static clang::OpenCLLocalAddressSpaceAttr* Create(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax,
    OpenCLLocalAddressSpaceAttr::Spelling S =
        static_cast<
            clang::OpenCLLocalAddressSpaceAttr::
                Spelling>(SpellingNotCalculated))

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

Parameters

clang::ASTContext& Ctx
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax
OpenCLLocalAddressSpaceAttr::Spelling S = static_cast<clang::OpenCLLocalAddressSpaceAttr::Spelling>(SpellingNotCalculated)

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

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

Parameters

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

static clang::OpenCLLocalAddressSpaceAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax,
    OpenCLLocalAddressSpaceAttr::Spelling S =
        static_cast<
            clang::OpenCLLocalAddressSpaceAttr::
                Spelling>(SpellingNotCalculated))

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

Parameters

clang::ASTContext& Ctx
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax
OpenCLLocalAddressSpaceAttr::Spelling S = static_cast<clang::OpenCLLocalAddressSpaceAttr::Spelling>(SpellingNotCalculated)

OpenCLLocalAddressSpaceAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::OpenCLLocalAddressSpaceAttr::Spelling
getSemanticSpelling() const

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

const char* getSpelling() const

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

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

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

Parameters

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