class CodePtr

Declaration

class CodePtr { /* full declaration omitted */ };

Description

Pointer into the code segment.

Declared at: clang/lib/AST/Interp/Source.h:25

Member Variables

private const char* Ptr
Pointer into the code owned by a function.

Method Overview

  • public CodePtr()
  • private CodePtr(const char * Ptr)
  • public template <typename T>std::enable_if_t<!std::is_pointer<T>::value, T> read()

Methods

CodePtr()

Declared at: clang/lib/AST/Interp/Source.h:27

CodePtr(const char* Ptr)

Description

Constructor used by Function to generate pointers.

Declared at: clang/lib/AST/Interp/Source.h:56

Parameters

const char* Ptr

template <typename T>
std::enable_if_t<!std::is_pointer<T>::value, T>
read()

Description

Reads data and advances the pointer.

Declared at: clang/lib/AST/Interp/Source.h:47

Templates

T