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
- public DecompositionDeclarator()
- public DecompositionDeclarator(const clang::DecompositionDeclarator & G)
- public ArrayRef<clang::DecompositionDeclarator::Binding> bindings() const
- public void clear()
- public clang::SourceLocation getLSquareLoc() const
- public clang::SourceLocation getRSquareLoc() const
- public clang::SourceRange getSourceRange() const
- public bool isSet() const
- public ~DecompositionDeclarator()
Methods
¶DecompositionDeclarator()
DecompositionDeclarator()
Declared at: clang/include/clang/Sema/DeclSpec.h:1722
¶DecompositionDeclarator(
const clang::DecompositionDeclarator& G)
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
ArrayRef<clang::DecompositionDeclarator::Binding>
bindings() const
Declared at: clang/include/clang/Sema/DeclSpec.h:1740
¶void clear()
void clear()
Declared at: clang/include/clang/Sema/DeclSpec.h:1731
¶clang::SourceLocation getLSquareLoc() const
clang::SourceLocation getLSquareLoc() const
Declared at: clang/include/clang/Sema/DeclSpec.h:1746
¶clang::SourceLocation getRSquareLoc() const
clang::SourceLocation getRSquareLoc() const
Declared at: clang/include/clang/Sema/DeclSpec.h:1747
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Declared at: clang/include/clang/Sema/DeclSpec.h:1748
¶bool isSet() const
bool isSet() const
Declared at: clang/include/clang/Sema/DeclSpec.h:1744
¶~DecompositionDeclarator()
~DecompositionDeclarator()
Declared at: clang/include/clang/Sema/DeclSpec.h:1726