clang
6.0.0
|
#include "clang/AST/Attr.h"
Static Public Member Functions | |
static bool | classof (const Attr *A) |
Protected Member Functions | |
StmtAttr (attr::Kind AK, SourceRange R, unsigned SpellingListIndex, bool IsLateParsed, bool DuplicatesAllowed) | |
![]() | |
void * | operator new (size_t bytes) noexcept |
void | operator delete (void *data) noexcept |
Attr (attr::Kind AK, SourceRange R, unsigned SpellingListIndex, bool IsLateParsed, bool DuplicatesAllowed) | |
Additional Inherited Members | |
![]() | |
void * | operator new (size_t Bytes, ASTContext &C, size_t Alignment=8) noexcept |
void | operator delete (void *Ptr, ASTContext &C, size_t Alignment) noexcept |
attr::Kind | getKind () const |
unsigned | getSpellingListIndex () const |
const char * | getSpelling () const |
SourceLocation | getLocation () const |
SourceRange | getRange () const |
void | setRange (SourceRange R) |
bool | isInherited () const |
bool | isImplicit () const |
Returns true if the attribute has been implicitly created instead of explicitly written by the user. More... | |
void | setImplicit (bool I) |
void | setPackExpansion (bool PE) |
bool | isPackExpansion () const |
Attr * | clone (ASTContext &C) const |
bool | isLateParsed () const |
void | printPretty (raw_ostream &OS, const PrintingPolicy &Policy) const |
bool | duplicatesAllowed () const |
By default, attributes cannot be duplicated when being merged; however, an attribute can override this. More... | |
![]() | |
unsigned | SpellingListIndex: 4 |
An index into the spelling list of an attribute defined in Attr.td file. More... | |
unsigned | Inherited: 1 |
unsigned | IsPackExpansion: 1 |
unsigned | Implicit: 1 |
unsigned | IsLateParsed: 1 |
unsigned | DuplicatesAllowed: 1 |
|
inlineprotected |
Definition at line 126 of file Attr.h.
References clang::Attr::getKind().