clang  6.0.0svn
Classes | Public Member Functions | Friends | List of all members
clang::DecompositionDeclarator Class Reference

A parsed C++17 decomposition declarator of the form '[' identifier-list ']'. More...

#include "clang/Sema/DeclSpec.h"

Classes

struct  Binding
 

Public Member Functions

 DecompositionDeclarator ()
 
 DecompositionDeclarator (const DecompositionDeclarator &G)=delete
 
DecompositionDeclaratoroperator= (const DecompositionDeclarator &G)=delete
 
 ~DecompositionDeclarator ()
 
void clear ()
 
ArrayRef< Bindingbindings () const
 
bool isSet () const
 
SourceLocation getLSquareLoc () const
 
SourceLocation getRSquareLoc () const
 
SourceRange getSourceRange () const
 

Friends

class Declarator
 

Detailed Description

A parsed C++17 decomposition declarator of the form '[' identifier-list ']'.

Definition at line 1663 of file DeclSpec.h.

Constructor & Destructor Documentation

◆ DecompositionDeclarator() [1/2]

clang::DecompositionDeclarator::DecompositionDeclarator ( )
inline

Definition at line 1682 of file DeclSpec.h.

◆ DecompositionDeclarator() [2/2]

clang::DecompositionDeclarator::DecompositionDeclarator ( const DecompositionDeclarator G)
delete

◆ ~DecompositionDeclarator()

clang::DecompositionDeclarator::~DecompositionDeclarator ( )
inline

Definition at line 1686 of file DeclSpec.h.

Member Function Documentation

◆ bindings()

ArrayRef<Binding> clang::DecompositionDeclarator::bindings ( ) const
inline

Definition at line 1700 of file DeclSpec.h.

◆ clear()

void clang::DecompositionDeclarator::clear ( )
inline

Definition at line 1691 of file DeclSpec.h.

Referenced by clang::Declarator::clear().

◆ getLSquareLoc()

SourceLocation clang::DecompositionDeclarator::getLSquareLoc ( ) const
inline

Definition at line 1706 of file DeclSpec.h.

◆ getRSquareLoc()

SourceLocation clang::DecompositionDeclarator::getRSquareLoc ( ) const
inline

Definition at line 1707 of file DeclSpec.h.

◆ getSourceRange()

SourceRange clang::DecompositionDeclarator::getSourceRange ( ) const
inline

Definition at line 1708 of file DeclSpec.h.

◆ isSet()

bool clang::DecompositionDeclarator::isSet ( ) const
inline

◆ operator=()

DecompositionDeclarator& clang::DecompositionDeclarator::operator= ( const DecompositionDeclarator G)
delete

Friends And Related Function Documentation

◆ Declarator

friend class Declarator
friend

Definition at line 1679 of file DeclSpec.h.


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