clang 24.0.0git
clang::interp::BlockFlags Struct Reference

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/Block.h"

Public Member Functions

constexpr BlockFlags (uint8_t V=0)
constexpr BlockFlags withExtern (bool B=true) const
constexpr BlockFlags withDead (bool B=true) const
constexpr BlockFlags withWeak (bool B=true) const
constexpr BlockFlags withConstexprUnknown (bool B=true) const

Static Public Member Functions

static constexpr BlockFlags empty ()

Public Attributes

uint8_t V = 0

Static Public Attributes

static constexpr uint8_t Extern = 1u << 0u
static constexpr uint8_t Dead = 1u << 1u
static constexpr uint8_t Weak = 1u << 2u
static constexpr uint8_t ConstexprUnknown = 1u << 3u

Detailed Description

Definition at line 27 of file Block.h.

Constructor & Destructor Documentation

◆ BlockFlags()

clang::interp::BlockFlags::BlockFlags ( uint8_t V = 0)
inlineconstexpr

Definition at line 34 of file Block.h.

References V.

Referenced by empty(), withConstexprUnknown(), withDead(), withExtern(), and withWeak().

Member Function Documentation

◆ empty()

constexpr BlockFlags clang::interp::BlockFlags::empty ( )
inlinestaticconstexpr

Definition at line 35 of file Block.h.

References BlockFlags().

Referenced by clang::interp::Block::Block(), and clang::interp::Block::Block().

◆ withConstexprUnknown()

BlockFlags clang::interp::BlockFlags::withConstexprUnknown ( bool B = true) const
inlineconstexpr

Definition at line 46 of file Block.h.

References BlockFlags(), ConstexprUnknown, and V.

Referenced by clang::interp::EvalEmitter::createLocal().

◆ withDead()

BlockFlags clang::interp::BlockFlags::withDead ( bool B = true) const
inlineconstexpr

Definition at line 40 of file Block.h.

References BlockFlags(), Dead, and V.

◆ withExtern()

BlockFlags clang::interp::BlockFlags::withExtern ( bool B = true) const
inlineconstexpr

Definition at line 37 of file Block.h.

References BlockFlags(), Extern, and V.

◆ withWeak()

BlockFlags clang::interp::BlockFlags::withWeak ( bool B = true) const
inlineconstexpr

Definition at line 43 of file Block.h.

References BlockFlags(), V, and Weak.

Member Data Documentation

◆ ConstexprUnknown

uint8_t clang::interp::BlockFlags::ConstexprUnknown = 1u << 3u
staticconstexpr

Definition at line 31 of file Block.h.

Referenced by clang::interp::Block::isConstexprUnknown(), and withConstexprUnknown().

◆ Dead

uint8_t clang::interp::BlockFlags::Dead = 1u << 1u
staticconstexpr

Definition at line 29 of file Block.h.

Referenced by clang::interp::Block::isDead(), and withDead().

◆ Extern

uint8_t clang::interp::BlockFlags::Extern = 1u << 0u
staticconstexpr

Definition at line 28 of file Block.h.

Referenced by clang::interp::Block::isExtern(), and withExtern().

◆ V

uint8_t clang::interp::BlockFlags::V = 0

Definition at line 33 of file Block.h.

Referenced by BlockFlags(), withConstexprUnknown(), withDead(), withExtern(), and withWeak().

◆ Weak

uint8_t clang::interp::BlockFlags::Weak = 1u << 2u
staticconstexpr

Definition at line 30 of file Block.h.

Referenced by clang::interp::Block::isWeak(), and withWeak().


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