clang  14.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,
  Syntactic = UnexpandedPack | Instantiation | Error
}
 

Public Member Functions

 Dependence ()
 
 Dependence (TypeDependence D)
 
 Dependence (ExprDependence D)
 
 Dependence (NestedNameSpecifierDependence D)
 
 Dependence (TemplateArgumentDependence D)
 
 Dependence (TemplateNameDependence D)
 
Dependence syntactic ()
 Extract only the syntactic portions of this type's dependence. More...
 
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 
Syntactic 

Definition at line 108 of file DependenceFlags.h.

Constructor & Destructor Documentation

◆ Dependence() [1/6]

clang::Dependence::Dependence ( )
inline

Definition at line 137 of file DependenceFlags.h.

◆ Dependence() [2/6]

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

Definition at line 139 of file DependenceFlags.h.

◆ Dependence() [3/6]

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

Definition at line 146 of file DependenceFlags.h.

◆ Dependence() [4/6]

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

Definition at line 153 of file DependenceFlags.h.

◆ Dependence() [5/6]

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

Definition at line 159 of file DependenceFlags.h.

◆ Dependence() [6/6]

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

Definition at line 165 of file DependenceFlags.h.

Member Function Documentation

◆ expr()

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

Definition at line 186 of file DependenceFlags.h.

References Error, Instantiation, Type, and UnexpandedPack.

Referenced by clang::toExprDependence().

◆ nestedNameSpecifier()

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

Definition at line 194 of file DependenceFlags.h.

References Dependent, Error, Instantiation, and UnexpandedPack.

Referenced by clang::toNestedNameSpecifierDependendence().

◆ syntactic()

Dependence clang::Dependence::syntactic ( )
inline

Extract only the syntactic portions of this type's dependence.

Definition at line 172 of file DependenceFlags.h.

References Syntactic.

Referenced by clang::toSyntacticDependence().

◆ templateArgument()

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

Definition at line 201 of file DependenceFlags.h.

References Dependent, Error, Instantiation, and UnexpandedPack.

Referenced by clang::toTemplateArgumentDependence().

◆ templateName()

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

Definition at line 208 of file DependenceFlags.h.

References Dependent, 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: