class SuppressAttr

Declaration

class SuppressAttr : public StmtAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: StmtAttr

Member Variables

private unsigned int diagnosticIdentifiers_Size
private llvm::StringRef* diagnosticIdentifiers_

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::SuppressAttr * Create(clang::ASTContext & Ctx, llvm::StringRef * DiagnosticIdentifiers, unsigned int DiagnosticIdentifiersSize, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::SuppressAttr * Create(clang::ASTContext & Ctx, llvm::StringRef * DiagnosticIdentifiers, unsigned int DiagnosticIdentifiersSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::SuppressAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef * DiagnosticIdentifiers, unsigned int DiagnosticIdentifiersSize, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::SuppressAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef * DiagnosticIdentifiers, unsigned int DiagnosticIdentifiersSize, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public SuppressAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef * DiagnosticIdentifiers, unsigned int DiagnosticIdentifiersSize)
  • public SuppressAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static bool classof(const clang::Attr * A)
  • public clang::SuppressAttr * clone(clang::ASTContext & C) const
  • public llvm::iterator_range<diagnosticIdentifiers_iterator> diagnosticIdentifiers() const
  • public clang::SuppressAttr::diagnosticIdentifiers_iterator diagnosticIdentifiers_begin() const
  • public clang::SuppressAttr::diagnosticIdentifiers_iterator diagnosticIdentifiers_end() const
  • public unsigned int diagnosticIdentifiers_size() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from StmtAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::SuppressAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef* DiagnosticIdentifiers,
    unsigned int DiagnosticIdentifiersSize,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* DiagnosticIdentifiers
unsigned int DiagnosticIdentifiersSize
const clang::AttributeCommonInfo& CommonInfo

static clang::SuppressAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef* DiagnosticIdentifiers,
    unsigned int DiagnosticIdentifiersSize,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* DiagnosticIdentifiers
unsigned int DiagnosticIdentifiersSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::SuppressAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef* DiagnosticIdentifiers,
    unsigned int DiagnosticIdentifiersSize,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* DiagnosticIdentifiers
unsigned int DiagnosticIdentifiersSize
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::SuppressAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef* DiagnosticIdentifiers,
    unsigned int DiagnosticIdentifiersSize,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef* DiagnosticIdentifiers
unsigned int DiagnosticIdentifiersSize
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

SuppressAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef* DiagnosticIdentifiers,
    unsigned int DiagnosticIdentifiersSize)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
llvm::StringRef* DiagnosticIdentifiers
unsigned int DiagnosticIdentifiersSize

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

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

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:10585

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::iterator_range<
    diagnosticIdentifiers_iterator>
diagnosticIdentifiers() const

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

clang::SuppressAttr::
    diagnosticIdentifiers_iterator
    diagnosticIdentifiers_begin() const

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

clang::SuppressAttr::
    diagnosticIdentifiers_iterator
    diagnosticIdentifiers_end() const

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

unsigned int diagnosticIdentifiers_size() const

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

const char* getSpelling() const

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

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

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

Parameters

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