clang API Documentation
Represents a C++11 virt-specifier-seq. More...
#include <DeclSpec.h>
Public Types | |
| enum | Specifier { VS_None = 0, VS_Override = 1, VS_Final = 2, VS_Sealed = 4 } |
Public Member Functions | |
| VirtSpecifiers () | |
| 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 |
| void | clear () |
| SourceLocation | getLastLocation () const |
Static Public Member Functions | |
| static const char * | getSpecifierName (Specifier VS) |
Represents a C++11 virt-specifier-seq.
Definition at line 2159 of file DeclSpec.h.
Definition at line 2161 of file DeclSpec.h.
| clang::VirtSpecifiers::VirtSpecifiers | ( | ) | [inline] |
Definition at line 2168 of file DeclSpec.h.
| void clang::VirtSpecifiers::clear | ( | ) | [inline] |
Definition at line 2182 of file DeclSpec.h.
| SourceLocation clang::VirtSpecifiers::getFinalLoc | ( | ) | const [inline] |
Definition at line 2180 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| SourceLocation clang::VirtSpecifiers::getLastLocation | ( | ) | const [inline] |
Definition at line 2186 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| SourceLocation clang::VirtSpecifiers::getOverrideLoc | ( | ) | const [inline] |
Definition at line 2176 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| const char * VirtSpecifiers::getSpecifierName | ( | Specifier | VS | ) | [static] |
Definition at line 1235 of file DeclSpec.cpp.
References VS_Final, VS_Override, and VS_Sealed.
Referenced by SetSpecifier().
| bool clang::VirtSpecifiers::isFinalSpecified | ( | ) | const [inline] |
Definition at line 2178 of file DeclSpec.h.
References VS_Final, and VS_Sealed.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| bool clang::VirtSpecifiers::isFinalSpelledSealed | ( | ) | const [inline] |
Definition at line 2179 of file DeclSpec.h.
References VS_Sealed.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| bool clang::VirtSpecifiers::isOverrideSpecified | ( | ) | const [inline] |
Definition at line 2175 of file DeclSpec.h.
References VS_Override.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| bool clang::VirtSpecifiers::isUnset | ( | ) | const [inline] |
Definition at line 2173 of file DeclSpec.h.
| bool VirtSpecifiers::SetSpecifier | ( | Specifier | VS, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec | ||
| ) |
Definition at line 1214 of file DeclSpec.cpp.
References getSpecifierName(), VS_Final, VS_Override, and VS_Sealed.