class OMPAllocateDeclAttr
Declaration
class OMPAllocateDeclAttr : public InheritableAttr { /* full declaration omitted */ };
Description
Attr - This represents one attribute.
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6918
Inherits from: InheritableAttr
Member Variables
- private clang::OMPAllocateDeclAttr::AllocatorTypeTy allocatorType
- private clang::Expr* allocator
- private clang::Expr* alignment
Inherited from Attr:
- protected Inherited
- protected IsPackExpansion
- protected Implicit
- protected IsLateParsed
- protected InheritEvenIfAlreadyPresent
Inherited from AttributeCommonInfo:
Method Overview
- public static const char * ConvertAllocatorTypeTyToStr(clang::OMPAllocateDeclAttr::AllocatorTypeTy Val)
- public static bool ConvertStrToAllocatorTypeTy(llvm::StringRef Val, clang::OMPAllocateDeclAttr::AllocatorTypeTy & Out)
- public static clang::OMPAllocateDeclAttr * Create(clang::ASTContext & Ctx, clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType, clang::Expr * Allocator, clang::Expr * Alignment, const clang::AttributeCommonInfo & CommonInfo)
- public static clang::OMPAllocateDeclAttr * Create(clang::ASTContext & Ctx, clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType, clang::Expr * Allocator, clang::Expr * Alignment, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public static clang::OMPAllocateDeclAttr * CreateImplicit(clang::ASTContext & Ctx, clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType, clang::Expr * Allocator, clang::Expr * Alignment, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
- public static clang::OMPAllocateDeclAttr * CreateImplicit(clang::ASTContext & Ctx, clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType, clang::Expr * Allocator, clang::Expr * Alignment, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public OMPAllocateDeclAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType, clang::Expr * Allocator, clang::Expr * Alignment)
- public static bool classof(const clang::Attr * A)
- public clang::OMPAllocateDeclAttr * clone(clang::ASTContext & C) const
- public clang::Expr * getAlignment() const
- public clang::Expr * getAllocator() const
- public clang::OMPAllocateDeclAttr::AllocatorTypeTy getAllocatorType() const
- public const char * getSpelling() const
- public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
Inherited from InheritableAttr:
Inherited from Attr:
- public clone
- public getDocumentation
- public getKind
- public getLocation
- public getSpelling
- public getSpellingListIndex
- public isImplicit
- public isInherited
- public isLateParsed
- public isPackExpansion
- public printPretty
- public setImplicit
- public setPackExpansion
Inherited from AttributeCommonInfo:
- public getAttrName
- public getAttributeSpellingListIndex
- public getLoc
- public getNormalizedFullName
- public getParsedKind
- public getParsedKind
- public getRange
- public getScopeLoc
- public getScopeName
- public getSyntax
- public hasScope
- public isAlignasAttribute
- protected isAttributeSpellingListCalculated
- public isC2xAttribute
- public isCXX11Attribute
- public isClangScope
- public isContextSensitiveKeywordAttribute
- public isDeclspecAttribute
- public isGNUAttribute
- public isGNUScope
- public isKeywordAttribute
- public isMicrosoftAttribute
- public isStandardAttributeSyntax
- public setAttributeSpellingListIndex
- public setRange
Methods
¶static const char* ConvertAllocatorTypeTyToStr(
clang::OMPAllocateDeclAttr::AllocatorTypeTy
Val)
static const char* ConvertAllocatorTypeTyToStr(
clang::OMPAllocateDeclAttr::AllocatorTypeTy
Val)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6962
Parameters
- clang::OMPAllocateDeclAttr::AllocatorTypeTy Val
¶static bool ConvertStrToAllocatorTypeTy(
llvm::StringRef Val,
clang::OMPAllocateDeclAttr::AllocatorTypeTy&
Out)
static bool ConvertStrToAllocatorTypeTy(
llvm::StringRef Val,
clang::OMPAllocateDeclAttr::AllocatorTypeTy&
Out)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6961
Parameters
- llvm::StringRef Val
- clang::OMPAllocateDeclAttr::AllocatorTypeTy& Out
¶static clang::OMPAllocateDeclAttr* Create(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
const clang::AttributeCommonInfo& CommonInfo)
static clang::OMPAllocateDeclAttr* Create(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
const clang::AttributeCommonInfo& CommonInfo)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6942
Parameters
- clang::ASTContext& Ctx
- clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType
- clang::Expr* Allocator
- clang::Expr* Alignment
- const clang::AttributeCommonInfo& CommonInfo
¶static clang::OMPAllocateDeclAttr* Create(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::OMPAllocateDeclAttr* Create(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6944
Parameters
- clang::ASTContext& Ctx
- clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType
- clang::Expr* Allocator
- clang::Expr* Alignment
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶static clang::OMPAllocateDeclAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
static clang::OMPAllocateDeclAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6941
Parameters
- clang::ASTContext& Ctx
- clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType
- clang::Expr* Allocator
- clang::Expr* Alignment
- const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}
¶static clang::OMPAllocateDeclAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::OMPAllocateDeclAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6943
Parameters
- clang::ASTContext& Ctx
- clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType
- clang::Expr* Allocator
- clang::Expr* Alignment
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶OMPAllocateDeclAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment)
OMPAllocateDeclAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::OMPAllocateDeclAttr::AllocatorTypeTy
AllocatorType,
clang::Expr* Allocator,
clang::Expr* Alignment)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6947
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
- clang::OMPAllocateDeclAttr::AllocatorTypeTy AllocatorType
- clang::Expr* Allocator
- clang::Expr* Alignment
¶static bool classof(const clang::Attr* A)
static bool classof(const clang::Attr* A)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6973
Parameters
- const clang::Attr* A
¶clang::OMPAllocateDeclAttr* clone(
clang::ASTContext& C) const
clang::OMPAllocateDeclAttr* clone(
clang::ASTContext& C) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6953
Parameters
¶clang::Expr* getAlignment() const
clang::Expr* getAlignment() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6967
¶clang::Expr* getAllocator() const
clang::Expr* getAllocator() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6963
¶clang::OMPAllocateDeclAttr::AllocatorTypeTy
getAllocatorType() const
clang::OMPAllocateDeclAttr::AllocatorTypeTy
getAllocatorType() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6957
¶const char* getSpelling() const
const char* getSpelling() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6956
¶void printPretty(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
void printPretty(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:6954
Parameters
- llvm::raw_ostream& OS
- const clang::PrintingPolicy& Policy