clang 20.0.0git
|
A simple helper class to pack several bits in order into (a) 32 bit integer(s). More...
#include "clang/Serialization/ASTWriter.h"
Public Member Functions | |
BitsPacker ()=default | |
BitsPacker (const BitsPacker &)=delete | |
BitsPacker (BitsPacker &&)=delete | |
BitsPacker | operator= (const BitsPacker &)=delete |
BitsPacker | operator= (BitsPacker &&)=delete |
~BitsPacker ()=default | |
bool | canWriteNextNBits (uint32_t BitsWidth) const |
void | reset (uint32_t Value) |
void | addBit (bool Value) |
void | addBits (uint32_t Value, uint32_t BitsWidth) |
operator uint32_t () | |
A simple helper class to pack several bits in order into (a) 32 bit integer(s).
Definition at line 1003 of file ASTWriter.h.
|
default |
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 1023 of file ASTWriter.h.
References addBits().
Referenced by clang::ASTRecordWriter::AddCXXDefinitionData(), clang::ASTDeclWriter::VisitDecl(), clang::ASTDeclWriter::VisitEnumDecl(), clang::ASTDeclWriter::VisitFunctionDecl(), clang::ASTDeclWriter::VisitNamespaceDecl(), clang::ASTDeclWriter::VisitParmVarDecl(), clang::ASTDeclWriter::VisitRecordDecl(), clang::ASTDeclWriter::VisitTagDecl(), and clang::ASTDeclWriter::VisitVarDecl().
|
inline |
Definition at line 1024 of file ASTWriter.h.
References canWriteNextNBits().
Referenced by addBit(), clang::ASTRecordWriter::AddCXXDefinitionData(), clang::ASTDeclWriter::VisitDecl(), clang::ASTDeclWriter::VisitEnumDecl(), clang::ASTDeclWriter::VisitFunctionDecl(), clang::ASTDeclWriter::VisitParmVarDecl(), clang::ASTDeclWriter::VisitRecordDecl(), clang::ASTDeclWriter::VisitTagDecl(), and clang::ASTDeclWriter::VisitVarDecl().
|
inline |
Definition at line 1014 of file ASTWriter.h.
Referenced by addBits().
|
inline |
Definition at line 1034 of file ASTWriter.h.
|
delete |
|
delete |
|
inline |
Definition at line 1018 of file ASTWriter.h.