[clang] 0588e81 - [Serialization] Use the SourceLocation::UIntTy instead of the raw type
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 2 00:12:05 PDT 2025
Author: Haojian Wu
Date: 2025-07-02T09:11:55+02:00
New Revision: 0588e8188c647460b641b09467fe6b13a8d510d5
URL: https://github.com/llvm/llvm-project/commit/0588e8188c647460b641b09467fe6b13a8d510d5
DIFF: https://github.com/llvm/llvm-project/commit/0588e8188c647460b641b09467fe6b13a8d510d5.diff
LOG: [Serialization] Use the SourceLocation::UIntTy instead of the raw type
for the offset, NFC
Added:
Modified:
clang/include/clang/Serialization/ASTReader.h
Removed:
################################################################################
diff --git a/clang/include/clang/Serialization/ASTReader.h b/clang/include/clang/Serialization/ASTReader.h
index 7d4b4467eb97d..43b4576093cf4 100644
--- a/clang/include/clang/Serialization/ASTReader.h
+++ b/clang/include/clang/Serialization/ASTReader.h
@@ -525,7 +525,7 @@ class ASTReader
ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocEntryMap;
using GlobalSLocOffsetMapType =
- ContinuousRangeMap<unsigned, ModuleFile *, 64>;
+ ContinuousRangeMap<SourceLocation::UIntTy, ModuleFile *, 64>;
/// A map of reversed (SourceManager::MaxLoadedOffset - SLocOffset)
/// SourceLocation offsets to the modules containing them.
More information about the cfe-commits
mailing list