clang  16.0.0git
Static Public Member Functions | List of all members
clang::SourceLocationEncoding Class Reference

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)
 

Detailed Description

Serialized encoding of SourceLocations without context.

Optimized to have small unsigned values (=> small after VBR encoding).

Definition at line 42 of file SourceLocationEncoding.h.

Member Function Documentation

◆ decode()

SourceLocation clang::SourceLocationEncoding::decode ( uint64_t  Encoded,
SourceLocationSequence Seq = nullptr 
)
inlinestatic

◆ encode()

uint64_t clang::SourceLocationEncoding::encode ( SourceLocation  Loc,
SourceLocationSequence Seq = nullptr 
)
inlinestatic

The documentation for this class was generated from the following file: