ΒΆint hasAttribute(
AttributeCommonInfo::Syntax Syntax,
const clang::IdentifierInfo* Scope,
const clang::IdentifierInfo* Attr,
const clang::TargetInfo& Target,
const clang::LangOptions& LangOpts)
int hasAttribute(
AttributeCommonInfo::Syntax Syntax,
const clang::IdentifierInfo* Scope,
const clang::IdentifierInfo* Attr,
const clang::TargetInfo& Target,
const clang::LangOptions& LangOpts)
Description
Return the version number associated with the attribute if we recognize and implement the attribute specified by the given information.
Declared at: clang/include/clang/Basic/Attributes.h:22
Parameters
- AttributeCommonInfo::Syntax Syntax
- const clang::IdentifierInfo* Scope
- const clang::IdentifierInfo* Attr
- const clang::TargetInfo& Target
- const clang::LangOptions& LangOpts