class LoopHintAttr
Declaration
class LoopHintAttr : public Attr { /* full declaration omitted */ };
Description
Attr - This represents one attribute.
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5191
Inherits from: Attr
Member Variables
- private clang::LoopHintAttr::OptionType option
- private clang::LoopHintAttr::LoopHintState state
- private clang::Expr* value
Inherited from Attr:
- protected Inherited
- protected IsPackExpansion
- protected Implicit
- protected IsLateParsed
- protected InheritEvenIfAlreadyPresent
Inherited from AttributeCommonInfo:
Method Overview
- public static const char * ConvertLoopHintStateToStr(clang::LoopHintAttr::LoopHintState Val)
- public static const char * ConvertOptionTypeToStr(clang::LoopHintAttr::OptionType Val)
- public static bool ConvertStrToLoopHintState(llvm::StringRef Val, clang::LoopHintAttr::LoopHintState & Out)
- public static bool ConvertStrToOptionType(llvm::StringRef Val, clang::LoopHintAttr::OptionType & Out)
- public static clang::LoopHintAttr * Create(clang::ASTContext & Ctx, clang::LoopHintAttr::OptionType Option, clang::LoopHintAttr::LoopHintState State, clang::Expr * Value, const clang::AttributeCommonInfo & CommonInfo)
- public static clang::LoopHintAttr * Create(clang::ASTContext & Ctx, clang::LoopHintAttr::OptionType Option, clang::LoopHintAttr::LoopHintState State, clang::Expr * Value, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, LoopHintAttr::Spelling S = static_cast<clang::LoopHintAttr::Spelling>(SpellingNotCalculated))
- public static clang::LoopHintAttr * CreateImplicit(clang::ASTContext & Ctx, clang::LoopHintAttr::OptionType Option, clang::LoopHintAttr::LoopHintState State, clang::Expr * Value, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, LoopHintAttr::Spelling S = static_cast<clang::LoopHintAttr::Spelling>(SpellingNotCalculated))
- public static clang::LoopHintAttr * CreateImplicit(clang::ASTContext & Ctx, clang::LoopHintAttr::OptionType Option, clang::LoopHintAttr::LoopHintState State, clang::Expr * Value, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
- public LoopHintAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::LoopHintAttr::OptionType Option, clang::LoopHintAttr::LoopHintState State, clang::Expr * Value)
- public static bool classof(const clang::Attr * A)
- public clang::LoopHintAttr * clone(clang::ASTContext & C) const
- public std::string getDiagnosticName(const clang::PrintingPolicy & Policy) const
- public clang::LoopHintAttr::OptionType getOption() const
- public static const char * getOptionName(int Option)
- public clang::LoopHintAttr::Spelling getSemanticSpelling() const
- public const char * getSpelling() const
- public clang::LoopHintAttr::LoopHintState getState() const
- public clang::Expr * getValue() const
- public std::string getValueString(const clang::PrintingPolicy & Policy) const
- public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
- public void printPrettyPragma(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
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* ConvertLoopHintStateToStr(
clang::LoopHintAttr::LoopHintState Val)
static const char* ConvertLoopHintStateToStr(
clang::LoopHintAttr::LoopHintState Val)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5265
Parameters
- clang::LoopHintAttr::LoopHintState Val
¶static const char* ConvertOptionTypeToStr(
clang::LoopHintAttr::OptionType Val)
static const char* ConvertOptionTypeToStr(
clang::LoopHintAttr::OptionType Val)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5259
Parameters
- clang::LoopHintAttr::OptionType Val
¶static bool ConvertStrToLoopHintState(
llvm::StringRef Val,
clang::LoopHintAttr::LoopHintState& Out)
static bool ConvertStrToLoopHintState(
llvm::StringRef Val,
clang::LoopHintAttr::LoopHintState& Out)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5264
Parameters
- llvm::StringRef Val
- clang::LoopHintAttr::LoopHintState& Out
¶static bool ConvertStrToOptionType(
llvm::StringRef Val,
clang::LoopHintAttr::OptionType& Out)
static bool ConvertStrToOptionType(
llvm::StringRef Val,
clang::LoopHintAttr::OptionType& Out)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5258
Parameters
- llvm::StringRef Val
- clang::LoopHintAttr::OptionType& Out
¶static clang::LoopHintAttr* Create(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
const clang::AttributeCommonInfo& CommonInfo)
static clang::LoopHintAttr* Create(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
const clang::AttributeCommonInfo& CommonInfo)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5238
Parameters
- clang::ASTContext& Ctx
- clang::LoopHintAttr::OptionType Option
- clang::LoopHintAttr::LoopHintState State
- clang::Expr* Value
- const clang::AttributeCommonInfo& CommonInfo
¶static clang::LoopHintAttr* Create(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax,
LoopHintAttr::Spelling S = static_cast<
clang::LoopHintAttr::Spelling>(
SpellingNotCalculated))
static clang::LoopHintAttr* Create(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax,
LoopHintAttr::Spelling S = static_cast<
clang::LoopHintAttr::Spelling>(
SpellingNotCalculated))
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5240
Parameters
- clang::ASTContext& Ctx
- clang::LoopHintAttr::OptionType Option
- clang::LoopHintAttr::LoopHintState State
- clang::Expr* Value
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
- LoopHintAttr::Spelling S = static_cast<clang::LoopHintAttr::Spelling>(SpellingNotCalculated)
¶static clang::LoopHintAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax,
LoopHintAttr::Spelling S = static_cast<
clang::LoopHintAttr::Spelling>(
SpellingNotCalculated))
static clang::LoopHintAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax,
LoopHintAttr::Spelling S = static_cast<
clang::LoopHintAttr::Spelling>(
SpellingNotCalculated))
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5239
Parameters
- clang::ASTContext& Ctx
- clang::LoopHintAttr::OptionType Option
- clang::LoopHintAttr::LoopHintState State
- clang::Expr* Value
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
- LoopHintAttr::Spelling S = static_cast<clang::LoopHintAttr::Spelling>(SpellingNotCalculated)
¶static clang::LoopHintAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
static clang::LoopHintAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5237
Parameters
- clang::ASTContext& Ctx
- clang::LoopHintAttr::OptionType Option
- clang::LoopHintAttr::LoopHintState State
- clang::Expr* Value
- const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}
¶LoopHintAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value)
LoopHintAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::LoopHintAttr::OptionType Option,
clang::LoopHintAttr::LoopHintState State,
clang::Expr* Value)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5243
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
- clang::LoopHintAttr::OptionType Option
- clang::LoopHintAttr::LoopHintState State
- clang::Expr* Value
¶static bool classof(const clang::Attr* A)
static bool classof(const clang::Attr* A)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5299
Parameters
- const clang::Attr* A
¶clang::LoopHintAttr* clone(
clang::ASTContext& C) const
clang::LoopHintAttr* clone(
clang::ASTContext& C) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5249
Parameters
¶std::string getDiagnosticName(
const clang::PrintingPolicy& Policy) const
std::string getDiagnosticName(
const clang::PrintingPolicy& Policy) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5296
Parameters
- const clang::PrintingPolicy& Policy
¶clang::LoopHintAttr::OptionType getOption() const
clang::LoopHintAttr::OptionType getOption() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5254
¶static const char* getOptionName(int Option)
static const char* getOptionName(int Option)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5271
Parameters
- int Option
¶clang::LoopHintAttr::Spelling
getSemanticSpelling() const
clang::LoopHintAttr::Spelling
getSemanticSpelling() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5253
¶const char* getSpelling() const
const char* getSpelling() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5252
¶clang::LoopHintAttr::LoopHintState getState()
const
clang::LoopHintAttr::LoopHintState getState()
const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5260
¶clang::Expr* getValue() const
clang::Expr* getValue() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5266
¶std::string getValueString(
const clang::PrintingPolicy& Policy) const
std::string getValueString(
const clang::PrintingPolicy& Policy) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5293
Parameters
- const clang::PrintingPolicy& Policy
¶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:5250
Parameters
- llvm::raw_ostream& OS
- const clang::PrintingPolicy& Policy
¶void printPrettyPragma(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
void printPrettyPragma(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:5289
Parameters
- llvm::raw_ostream& OS
- const clang::PrintingPolicy& Policy