Skip to content

Commit a709621

Browse files
committed
[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.
1 parent cff4a00 commit a709621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Lex/TokenLexer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class TokenLexer {
6565

6666
/// The offset of the macro expansion in the
6767
/// "source location address space".
68-
unsigned MacroStartSLocOffset;
68+
SourceLocation::UIntTy MacroStartSLocOffset;
6969

7070
/// Location of the macro definition.
7171
SourceLocation MacroDefStart;

0 commit comments

Comments
 (0)