[Lex] Use SourceLocation::UIntTy for the MacroDefStart, NFC

Avoid using the underlying type, and be more consistent -- MacroDefStart stores
the result of SourceManager::getNextLocalOffset() which returns the
SourceLocation::UIntTy.
This commit is contained in:
Haojian Wu 2025-07-10 10:43:08 +02:00
parent cff4a00d3f
commit a709621cd5

View File

@ -65,7 +65,7 @@ class TokenLexer {
/// The offset of the macro expansion in the
/// "source location address space".
unsigned MacroStartSLocOffset;
SourceLocation::UIntTy MacroStartSLocOffset;
/// Location of the macro definition.
SourceLocation MacroDefStart;