struct ValueType

Declaration

struct ValueType { /* full declaration omitted */ };

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. Structured types that are passed by value (e.g. complex numbers) require special handling; they use BT_ValueRef, and size ST_0.

Declared at: clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:153

Member Variables

public clang::threadSafety::til::ValueType::BaseType Base
public clang::threadSafety::til::ValueType::SizeType Size
public bool Signed
public unsigned char VectSize

Method Overview

  • public ValueType(clang::threadSafety::til::ValueType::BaseType B, clang::threadSafety::til::ValueType::SizeType Sz, bool S, unsigned char VS)
  • public static inline clang::threadSafety::til::ValueType::SizeType getSizeType(unsigned int nbytes)
  • public template <class T>static inline clang::threadSafety::til::ValueType getValueType()

Methods

ValueType(
    clang::threadSafety::til::ValueType::BaseType
        B,
    clang::threadSafety::til::ValueType::SizeType
        Sz,
    bool S,
    unsigned char VS)

Declared at: clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:174

Parameters

clang::threadSafety::til::ValueType::BaseType B
clang::threadSafety::til::ValueType::SizeType Sz
bool S
unsigned char VS

static inline clang::threadSafety::til::
    ValueType::SizeType
    getSizeType(unsigned int nbytes)

Declared at: clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:177

Parameters

unsigned int nbytes

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

Declared at: clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:180

Templates

T