clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::interp::BitRange Struct Reference

A bit range. Both Start and End are inclusive. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/BitcastBuffer.h"

Public Member Functions

 BitRange (Bits Start, Bits End)
 
Bits size () const
 
bool operator< (BitRange Other) const
 
bool contains (Bits B)
 

Public Attributes

Bits Start
 
Bits End
 

Detailed Description

A bit range. Both Start and End are inclusive.

Definition at line 68 of file BitcastBuffer.h.

Constructor & Destructor Documentation

◆ BitRange()

clang::interp::BitRange::BitRange ( Bits  Start,
Bits  End 
)
inline

Definition at line 72 of file BitcastBuffer.h.

Member Function Documentation

◆ contains()

bool clang::interp::BitRange::contains ( Bits  B)
inline

Definition at line 76 of file BitcastBuffer.h.

◆ operator<()

bool clang::interp::BitRange::operator< ( BitRange  Other) const
inline

Definition at line 74 of file BitcastBuffer.h.

References clang::interp::Bits::N, clang::Other, and Start.

◆ size()

Bits clang::interp::BitRange::size ( ) const
inline

Definition at line 73 of file BitcastBuffer.h.

References End, and Start.

Member Data Documentation

◆ End

Bits clang::interp::BitRange::End

Definition at line 70 of file BitcastBuffer.h.

Referenced by size().

◆ Start

Bits clang::interp::BitRange::Start

Definition at line 69 of file BitcastBuffer.h.

Referenced by operator<(), and size().


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