clang 23.0.0git
clang::threadSafety::til::ValueType Struct Reference

ValueTypes are data types that can actually be held in registers. More...

#include "clang/Analysis/Analyses/ThreadSafetyTIL.h"

Public Types

enum  BaseType : unsigned char {
  BT_Bool , BT_Char , BT_SInt , BT_UInt ,
  BT_String , BT_NullPointer
}

Public Member Functions

 ValueType (BaseType B)

Static Public Member Functions

template<class T>
static ValueType getValueType ()
template<>
ValueType getValueType ()
template<>
ValueType getValueType ()
template<>
ValueType getValueType ()
template<>
ValueType getValueType ()
template<>
ValueType getValueType ()

Public Attributes

BaseType Base

Detailed Description

ValueTypes are data types that can actually be held in registers.

All variables and expressions must have a value type. Pointer types are further subdivided into the various heap-allocated types, such as functions, records, etc.

Definition at line 151 of file ThreadSafetyTIL.h.

Member Enumeration Documentation

◆ BaseType

Enumerator
BT_Bool 
BT_Char 
BT_SInt 
BT_UInt 
BT_String 
BT_NullPointer 

Definition at line 152 of file ThreadSafetyTIL.h.

Constructor & Destructor Documentation

◆ ValueType()

clang::threadSafety::til::ValueType::ValueType ( BaseType B)
inline

Definition at line 161 of file ThreadSafetyTIL.h.

References Base.

Referenced by getValueType().

Member Function Documentation

◆ getValueType() [1/6]

template<class T>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

◆ getValueType() [2/6]

template<>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

Definition at line 174 of file ThreadSafetyTIL.h.

References BT_Bool, and ValueType().

◆ getValueType() [3/6]

template<>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

Definition at line 178 of file ThreadSafetyTIL.h.

References BT_Char, and ValueType().

◆ getValueType() [4/6]

template<>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

Definition at line 183 of file ThreadSafetyTIL.h.

References BT_SInt, and ValueType().

◆ getValueType() [5/6]

template<>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

Definition at line 188 of file ThreadSafetyTIL.h.

References BT_UInt, and ValueType().

◆ getValueType() [6/6]

template<>
ValueType clang::threadSafety::til::ValueType::getValueType ( )
inlinestatic

Definition at line 193 of file ThreadSafetyTIL.h.

References BT_String, and ValueType().

Member Data Documentation

◆ Base


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