clang 19.0.0git
|
Serialized encoding of SourceLocations without context. More...
#include "clang/Serialization/SourceLocationEncoding.h"
Static Public Member Functions | |
static uint64_t | encode (SourceLocation Loc, SourceLocationSequence *=nullptr) |
static SourceLocation | decode (uint64_t, SourceLocationSequence *=nullptr) |
Serialized encoding of SourceLocations without context.
Optimized to have small unsigned values (=> small after VBR encoding).
Definition at line 42 of file SourceLocationEncoding.h.
|
inlinestatic |
Definition at line 157 of file SourceLocationEncoding.h.
References clang::SourceLocation::getFromRawEncoding(), and clang::Seq.
Referenced by clang::ASTReader::ReadUntranslatedSourceLocation().
|
inlinestatic |
Definition at line 152 of file SourceLocationEncoding.h.
References clang::SourceLocation::getRawEncoding(), and clang::Seq.
Referenced by clang::ASTWriter::AddSourceLocation().