clang 18.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::SourceLocationSequence::decode(), and clang::SourceLocation::getFromRawEncoding().
Referenced by clang::ASTReader::ReadUntranslatedSourceLocation().
|
inlinestatic |
Definition at line 152 of file SourceLocationEncoding.h.
References clang::SourceLocationSequence::encode(), and clang::SourceLocation::getRawEncoding().
Referenced by clang::ASTWriter::AddSourceLocation().