Skip to content

Commit ac76e4d

Browse files
committed
[Serialization] Use SourceLocation::UIntTy for the offset type, NFC
1 parent c56c349 commit ac76e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Serialization/ASTWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6652,7 +6652,7 @@ void ASTWriter::AddFileID(FileID FID, RecordDataImpl &Record) {
66526652

66536653
SourceLocationEncoding::RawLocEncoding
66546654
ASTWriter::getRawSourceLocationEncoding(SourceLocation Loc) {
6655-
unsigned BaseOffset = 0;
6655+
SourceLocation::UIntTy BaseOffset = 0;
66566656
unsigned ModuleFileIndex = 0;
66576657

66586658
// See SourceLocationEncoding.h for the encoding details.

0 commit comments

Comments
 (0)