clang 20.0.0git
|
Represents a C++11 virt-specifier-seq. More...
#include "clang/Sema/DeclSpec.h"
Public Types | |
enum | Specifier { VS_None = 0 , VS_Override = 1 , VS_Final = 2 , VS_Sealed = 4 , VS_GNU_Final = 8 , VS_Abstract = 16 } |
Public Member Functions | |
VirtSpecifiers ()=default | |
bool | SetSpecifier (Specifier VS, SourceLocation Loc, const char *&PrevSpec) |
bool | isUnset () const |
bool | isOverrideSpecified () const |
SourceLocation | getOverrideLoc () const |
bool | isFinalSpecified () const |
bool | isFinalSpelledSealed () const |
SourceLocation | getFinalLoc () const |
SourceLocation | getAbstractLoc () const |
void | clear () |
SourceLocation | getFirstLocation () const |
SourceLocation | getLastLocation () const |
Specifier | getLastSpecifier () const |
Static Public Member Functions | |
static const char * | getSpecifierName (Specifier VS) |
Represents a C++11 virt-specifier-seq.
Definition at line 2783 of file DeclSpec.h.
Enumerator | |
---|---|
VS_None | |
VS_Override | |
VS_Final | |
VS_Sealed | |
VS_GNU_Final | |
VS_Abstract |
Definition at line 2785 of file DeclSpec.h.
|
default |
|
inline |
Definition at line 2810 of file DeclSpec.h.
|
inline |
Definition at line 2808 of file DeclSpec.h.
|
inline |
Definition at line 2807 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
|
inline |
Definition at line 2814 of file DeclSpec.h.
|
inline |
Definition at line 2815 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
|
inline |
Definition at line 2816 of file DeclSpec.h.
|
inline |
Definition at line 2803 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
|
static |
Definition at line 1552 of file DeclSpec.cpp.
References VS_Abstract, VS_Final, VS_GNU_Final, VS_Override, and VS_Sealed.
Referenced by SetSpecifier().
|
inline |
Definition at line 2805 of file DeclSpec.h.
References VS_Final, VS_GNU_Final, and VS_Sealed.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), and clang::SemaCodeCompletion::CodeCompleteFunctionQualifiers().
|
inline |
Definition at line 2806 of file DeclSpec.h.
References VS_Sealed.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
|
inline |
Definition at line 2802 of file DeclSpec.h.
References VS_Override.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), and clang::SemaCodeCompletion::CodeCompleteFunctionQualifiers().
|
inline |
Definition at line 2800 of file DeclSpec.h.
bool VirtSpecifiers::SetSpecifier | ( | Specifier | VS, |
SourceLocation | Loc, | ||
const char *& | PrevSpec | ||
) |
Definition at line 1526 of file DeclSpec.cpp.
References getSpecifierName(), clang::SourceLocation::isValid(), Loc, VS_Abstract, VS_Final, VS_GNU_Final, VS_Override, and VS_Sealed.