clang  8.0.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::VirtSpecifiers Class Reference

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
}
 

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 getFirstLocation () const
 
SourceLocation getLastLocation () const
 
Specifier getLastSpecifier () const
 

Static Public Member Functions

static const char * getSpecifierName (Specifier VS)
 

Detailed Description

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

Definition at line 2499 of file DeclSpec.h.

Member Enumeration Documentation

◆ Specifier

Enumerator
VS_None 
VS_Override 
VS_Final 
VS_Sealed 
VS_GNU_Final 

Definition at line 2501 of file DeclSpec.h.

Constructor & Destructor Documentation

◆ VirtSpecifiers()

clang::VirtSpecifiers::VirtSpecifiers ( )
inline

Definition at line 2510 of file DeclSpec.h.

Member Function Documentation

◆ clear()

void clang::VirtSpecifiers::clear ( )
inline

Definition at line 2524 of file DeclSpec.h.

◆ getFinalLoc()

SourceLocation clang::VirtSpecifiers::getFinalLoc ( ) const
inline

Definition at line 2522 of file DeclSpec.h.

◆ getFirstLocation()

SourceLocation clang::VirtSpecifiers::getFirstLocation ( ) const
inline

Definition at line 2528 of file DeclSpec.h.

◆ getLastLocation()

SourceLocation clang::VirtSpecifiers::getLastLocation ( ) const
inline

Definition at line 2529 of file DeclSpec.h.

◆ getLastSpecifier()

Specifier clang::VirtSpecifiers::getLastSpecifier ( ) const
inline

Definition at line 2530 of file DeclSpec.h.

◆ getOverrideLoc()

SourceLocation clang::VirtSpecifiers::getOverrideLoc ( ) const
inline

Definition at line 2518 of file DeclSpec.h.

◆ getSpecifierName()

const char * VirtSpecifiers::getSpecifierName ( Specifier  VS)
static

Definition at line 1372 of file DeclSpec.cpp.

◆ isFinalSpecified()

bool clang::VirtSpecifiers::isFinalSpecified ( ) const
inline

Definition at line 2520 of file DeclSpec.h.

◆ isFinalSpelledSealed()

bool clang::VirtSpecifiers::isFinalSpelledSealed ( ) const
inline

Definition at line 2521 of file DeclSpec.h.

◆ isOverrideSpecified()

bool clang::VirtSpecifiers::isOverrideSpecified ( ) const
inline

Definition at line 2517 of file DeclSpec.h.

◆ isUnset()

bool clang::VirtSpecifiers::isUnset ( ) const
inline

Definition at line 2515 of file DeclSpec.h.

◆ SetSpecifier()

bool VirtSpecifiers::SetSpecifier ( Specifier  VS,
SourceLocation  Loc,
const char *&  PrevSpec 
)

Definition at line 1347 of file DeclSpec.cpp.


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