clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::VirtSpecifiers Class Reference

Represents a C++11 virt-specifier-seq. More...

#include <DeclSpec.h>

List of all members.

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)

Detailed Description

Represents a C++11 virt-specifier-seq.

Definition at line 2159 of file DeclSpec.h.


Member Enumeration Documentation

Enumerator:
VS_None 
VS_Override 
VS_Final 
VS_Sealed 

Definition at line 2161 of file DeclSpec.h.


Constructor & Destructor Documentation

Definition at line 2168 of file DeclSpec.h.


Member Function Documentation

void clang::VirtSpecifiers::clear ( ) [inline]

Definition at line 2182 of file DeclSpec.h.

Definition at line 2180 of file DeclSpec.h.

Referenced by clang::Sema::ActOnCXXMemberDeclarator().

Definition at line 2186 of file DeclSpec.h.

Referenced by clang::Sema::ActOnCXXMemberDeclarator().

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().

Definition at line 2178 of file DeclSpec.h.

References VS_Final, and VS_Sealed.

Referenced by clang::Sema::ActOnCXXMemberDeclarator().

Definition at line 2179 of file DeclSpec.h.

References VS_Sealed.

Referenced by clang::Sema::ActOnCXXMemberDeclarator().

Definition at line 2175 of file DeclSpec.h.

References VS_Override.

Referenced by clang::Sema::ActOnCXXMemberDeclarator().

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.


The documentation for this class was generated from the following files: