clang  12.0.0git
Public Types | Public Member Functions | List of all members
clang::Dependence Class Reference

#include "clang/AST/DependenceFlags.h"

Public Types

enum  Bits : uint8_t {
  None = 0, UnexpandedPack = 1, Instantiation = 2, Type = 4,
  Value = 8, Dependent = Type | Value, Error = 16, VariablyModified = 32
}
 

Public Member Functions

 Dependence ()
 
 Dependence (TypeDependence D)
 
 Dependence (ExprDependence D)
 
 Dependence (NestedNameSpecifierDependence D)
 
 Dependence (TemplateArgumentDependence D)
 
 Dependence (TemplateNameDependence D)
 
TypeDependence type () const
 
ExprDependence expr () const
 
NestedNameSpecifierDependence nestedNameSpecifier () const
 
TemplateArgumentDependence templateArgument () const
 
TemplateNameDependence templateName () const
 

Detailed Description

Definition at line 106 of file DependenceFlags.h.

Member Enumeration Documentation

◆ Bits

enum clang::Dependence::Bits : uint8_t
Enumerator
None 
UnexpandedPack 
Instantiation 
Type 
Value 
Dependent 
Error 
VariablyModified 

Definition at line 108 of file DependenceFlags.h.

Constructor & Destructor Documentation

◆ Dependence() [1/6]

clang::Dependence::Dependence ( )
inline

Definition at line 134 of file DependenceFlags.h.

◆ Dependence() [2/6]

clang::Dependence::Dependence ( TypeDependence  D)
inline

Definition at line 136 of file DependenceFlags.h.

◆ Dependence() [3/6]

clang::Dependence::Dependence ( ExprDependence  D)
inline

Definition at line 143 of file DependenceFlags.h.

◆ Dependence() [4/6]

clang::Dependence::Dependence ( NestedNameSpecifierDependence  D)
inline

Definition at line 150 of file DependenceFlags.h.

◆ Dependence() [5/6]

clang::Dependence::Dependence ( TemplateArgumentDependence  D)
inline

Definition at line 156 of file DependenceFlags.h.

◆ Dependence() [6/6]

clang::Dependence::Dependence ( TemplateNameDependence  D)
inline

Definition at line 162 of file DependenceFlags.h.

Member Function Documentation

◆ expr()

ExprDependence clang::Dependence::expr ( ) const
inline

Definition at line 176 of file DependenceFlags.h.

References clang::Error, Error, Instantiation, Type, and UnexpandedPack.

Referenced by clang::toExprDependence().

◆ nestedNameSpecifier()

NestedNameSpecifierDependence clang::Dependence::nestedNameSpecifier ( ) const
inline

◆ templateArgument()

TemplateArgumentDependence clang::Dependence::templateArgument ( ) const
inline

◆ templateName()

TemplateNameDependence clang::Dependence::templateName ( ) const
inline

Definition at line 198 of file DependenceFlags.h.

References Dependent, clang::Error, Error, Instantiation, and UnexpandedPack.

Referenced by clang::toTemplateNameDependence().

◆ type()

TypeDependence clang::Dependence::type ( ) const
inline

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