[Serialization] Use SourceLocation::UIntTy for the offset type, NFC

This commit is contained in:
Haojian Wu
2025-07-01 22:32:32 +02:00
parent c56c349d39
commit ac76e4d8a9

View File

@@ -6652,7 +6652,7 @@ void ASTWriter::AddFileID(FileID FID, RecordDataImpl &Record) {
SourceLocationEncoding::RawLocEncoding
ASTWriter::getRawSourceLocationEncoding(SourceLocation Loc) {
unsigned BaseOffset = 0;
SourceLocation::UIntTy BaseOffset = 0;
unsigned ModuleFileIndex = 0;
// See SourceLocationEncoding.h for the encoding details.