clang 20.0.0git
|
Serialized encoding of SourceLocations without context. More...
#include "clang/Serialization/SourceLocationEncoding.h"
Public Types | |
using | RawLocEncoding = uint64_t |
Static Public Member Functions | |
static RawLocEncoding | encode (SourceLocation Loc, UIntTy BaseOffset, unsigned BaseModuleFileIndex, SourceLocationSequence *=nullptr) |
static std::pair< SourceLocation, unsigned > | decode (RawLocEncoding, SourceLocationSequence *=nullptr) |
Serialized encoding of SourceLocations without context.
Optimized to have small unsigned values (=> small after VBR encoding).
Definition at line 47 of file SourceLocationEncoding.h.
using clang::SourceLocationEncoding::RawLocEncoding = uint64_t |
Definition at line 60 of file SourceLocationEncoding.h.
|
inlinestatic |
Definition at line 186 of file SourceLocationEncoding.h.
References clang::SourceLocation::getFromRawEncoding(), Loc, and clang::Seq.
Referenced by clang::ASTReader::ReadUntranslatedSourceLocation().
|
inlinestatic |
Definition at line 162 of file SourceLocationEncoding.h.
References Loc, and clang::Seq.
Referenced by clang::ASTWriter::getRawSourceLocationEncoding().