clang API Documentation
VirtSpecifiers - Represents a C++0x virt-specifier-seq. More...
#include <DeclSpec.h>
Public Types | |
| enum | Specifier { VS_None = 0, VS_Override = 1, VS_Final = 2 } |
Public Member Functions | |
| VirtSpecifiers () | |
| bool | SetSpecifier (Specifier VS, SourceLocation Loc, const char *&PrevSpec) |
| bool | isOverrideSpecified () const |
| SourceLocation | getOverrideLoc () const |
| bool | isFinalSpecified () const |
| SourceLocation | getFinalLoc () const |
| void | clear () |
| SourceLocation | getLastLocation () const |
Static Public Member Functions | |
| static const char * | getSpecifierName (Specifier VS) |
VirtSpecifiers - Represents a C++0x virt-specifier-seq.
Definition at line 1918 of file DeclSpec.h.
Definition at line 1920 of file DeclSpec.h.
| clang::VirtSpecifiers::VirtSpecifiers | ( | ) | [inline] |
Definition at line 1926 of file DeclSpec.h.
| void clang::VirtSpecifiers::clear | ( | ) | [inline] |
Definition at line 1937 of file DeclSpec.h.
| SourceLocation clang::VirtSpecifiers::getFinalLoc | ( | ) | const [inline] |
Definition at line 1935 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| SourceLocation clang::VirtSpecifiers::getLastLocation | ( | ) | const [inline] |
Definition at line 1941 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| SourceLocation clang::VirtSpecifiers::getOverrideLoc | ( | ) | const [inline] |
Definition at line 1932 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| const char * VirtSpecifiers::getSpecifierName | ( | Specifier | VS | ) | [static] |
Definition at line 973 of file DeclSpec.cpp.
References VS_Final, and VS_Override.
Referenced by SetSpecifier().
| bool clang::VirtSpecifiers::isFinalSpecified | ( | ) | const [inline] |
Definition at line 1934 of file DeclSpec.h.
References VS_Final.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| bool clang::VirtSpecifiers::isOverrideSpecified | ( | ) | const [inline] |
Definition at line 1931 of file DeclSpec.h.
References VS_Override.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
| bool VirtSpecifiers::SetSpecifier | ( | Specifier | VS, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec | ||
| ) |
Definition at line 953 of file DeclSpec.cpp.
References getSpecifierName(), VS_Final, and VS_Override.