[all-commits] [llvm/llvm-project] a70962: [Lex] Use SourceLocation::UIntTy for the MacroDefS...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Jul 10 01:47:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a709621cd545b061782b03136286227867b452a6
      https://github.com/llvm/llvm-project/commit/a709621cd545b061782b03136286227867b452a6
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M clang/include/clang/Lex/TokenLexer.h

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list