Skip to content

Commit 0588e81

Browse files
committed
[Serialization] Use the SourceLocation::UIntTy instead of the raw type
for the offset, NFC
1 parent 6c9be27 commit 0588e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Serialization/ASTReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ class ASTReader
525525
ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocEntryMap;
526526

527527
using GlobalSLocOffsetMapType =
528-
ContinuousRangeMap<unsigned, ModuleFile *, 64>;
528+
ContinuousRangeMap<SourceLocation::UIntTy, ModuleFile *, 64>;
529529

530530
/// A map of reversed (SourceManager::MaxLoadedOffset - SLocOffset)
531531
/// SourceLocation offsets to the modules containing them.

0 commit comments

Comments
 (0)