clang 20.0.0git
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 1792 of file DeclSpec.h.

Constructor & Destructor Documentation

◆ DecompositionDeclarator() [1/2]

clang::DecompositionDeclarator::DecompositionDeclarator ( )
inline

Definition at line 1813 of file DeclSpec.h.

◆ DecompositionDeclarator() [2/2]

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

◆ ~DecompositionDeclarator()

clang::DecompositionDeclarator::~DecompositionDeclarator ( )
inline

Definition at line 1817 of file DeclSpec.h.

References clear().

Member Function Documentation

◆ bindings()

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

Definition at line 1831 of file DeclSpec.h.

◆ clear()

void clang::DecompositionDeclarator::clear ( )
inline

◆ getLSquareLoc()

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

◆ getRSquareLoc()

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

Definition at line 1838 of file DeclSpec.h.

◆ getSourceRange()

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

◆ 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 1810 of file DeclSpec.h.


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