clang 20.0.0git
Public Types | List of all members
clang::TypeDependenceScope Struct Reference

#include "clang/AST/DependenceFlags.h"

Public Types

enum  TypeDependence : uint8_t {
  UnexpandedPack = 1 , Instantiation = 2 , Dependent = 4 , VariablyModified = 8 ,
  Error = 16 , None = 0 , All = 31 , DependentInstantiation = Dependent | Instantiation
}
 

Detailed Description

Definition at line 51 of file DependenceFlags.h.

Member Enumeration Documentation

◆ TypeDependence

Enumerator
UnexpandedPack 

Whether this type contains an unexpanded parameter pack (for C++11 variadic templates)

Instantiation 

Whether this type somehow involves.

  • a template parameter, even if the resolution of the type does not depend on a template parameter.
  • or an error.
Dependent 

Whether this type.

  • is a dependent type (C++ [temp.dep.type])
  • or it somehow involves an error, e.g. decltype(recovery-expr)
VariablyModified 

Whether this type is a variably-modified type (C99 6.7.5).

Error 

Whether this type references an error, e.g.

decltype(err-expression) yields an error type.

None 
All 
DependentInstantiation 

Definition at line 52 of file DependenceFlags.h.


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