clang 20.0.0git
Classes | Namespaces | Macros
Value.h File Reference
#include "llvm/Support/Compiler.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  clang::Value
 
struct  clang::Value::convertFwd< T >
 
struct  clang::Value::convertFwd< T * >
 

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Macros

#define REPL_EXTERNAL_VISIBILITY
 
#define REPL_BUILTIN_TYPES
 
#define X(type, name)   type m_##name;
 
#define X(type, name)   K_##name,
 
#define X(type, name)
 
#define X(type, name)
 

Macro Definition Documentation

◆ REPL_BUILTIN_TYPES

#define REPL_BUILTIN_TYPES
Value:
X(bool, Bool) \
X(char, Char_S) \
X(signed char, SChar) \
X(unsigned char, Char_U) \
X(unsigned char, UChar) \
X(short, Short) \
X(unsigned short, UShort) \
X(int, Int) \
X(unsigned int, UInt) \
X(long, Long) \
X(unsigned long, ULong) \
X(long long, LongLong) \
X(unsigned long long, ULongLong) \
X(float, Float) \
X(double, Double) \
X(long double, LongDouble)
#define X(type, name)
Definition: Value.h:143

Definition at line 75 of file Value.h.

◆ REPL_EXTERNAL_VISIBILITY

#define REPL_EXTERNAL_VISIBILITY

Definition at line 72 of file Value.h.

◆ X [1/4]

#define X (   type,
  name 
)    type m_##name;

◆ X [2/4]

#define X (   type,
  name 
)    K_##name,

Definition at line 143 of file Value.h.

◆ X [3/4]

#define X (   type,
  name 
)
Value:
void set##name(type Val) { Data.m_##name = Val; } \
type get##name() const { return Data.m_##name; }
const char * Data

Definition at line 143 of file Value.h.

◆ X [4/4]

#define X (   type,
  name 
)
Value:
case Value::K_##name: \
return (T)Data.m_##name;

Definition at line 143 of file Value.h.