clang 22.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) |
static std::pair< SourceLocation, unsigned > | decode (RawLocEncoding) |
Serialized encoding of SourceLocations without context.
Optimized to have small unsigned values (=> small after VBR encoding).
Definition at line 44 of file SourceLocationEncoding.h.
using clang::SourceLocationEncoding::RawLocEncoding = uint64_t |
Definition at line 56 of file SourceLocationEncoding.h.
|
inlinestatic |
Definition at line 86 of file SourceLocationEncoding.h.
References clang::SourceLocation::getFromRawEncoding().
Referenced by clang::ASTReader::ReadUntranslatedSourceLocation().
|
inlinestatic |
Definition at line 64 of file SourceLocationEncoding.h.
References clang::SourceLocation::getLocWithOffset(), clang::SourceLocation::getRawEncoding(), and clang::SourceLocation::isInvalid().
Referenced by clang::ASTWriter::getRawSourceLocationEncoding().