class DecompositionDeclarator

Declaration

class DecompositionDeclarator { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Sema/DeclSpec.h:1703

Member Variables

private clang::SourceLocation LSquareLoc
The locations of the '[' and ']' tokens.
private clang::SourceLocation RSquareLoc
The locations of the '[' and ']' tokens.
private clang::DecompositionDeclarator::Binding* Bindings
The bindings.
private unsigned int NumBindings
private unsigned int DeleteBindings

Method Overview

Methods

DecompositionDeclarator()

Declared at: clang/include/clang/Sema/DeclSpec.h:1722

DecompositionDeclarator(
    const clang::DecompositionDeclarator& G)

Declared at: clang/include/clang/Sema/DeclSpec.h:1724

Parameters

const clang::DecompositionDeclarator& G

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

Declared at: clang/include/clang/Sema/DeclSpec.h:1740

void clear()

Declared at: clang/include/clang/Sema/DeclSpec.h:1731

clang::SourceLocation getLSquareLoc() const

Declared at: clang/include/clang/Sema/DeclSpec.h:1746

clang::SourceLocation getRSquareLoc() const

Declared at: clang/include/clang/Sema/DeclSpec.h:1747

clang::SourceRange getSourceRange() const

Declared at: clang/include/clang/Sema/DeclSpec.h:1748

bool isSet() const

Declared at: clang/include/clang/Sema/DeclSpec.h:1744

~DecompositionDeclarator()

Declared at: clang/include/clang/Sema/DeclSpec.h:1726