[all-commits] [llvm/llvm-project] 21401a: [clang] Introduce SourceLocation::[U]IntTy typedefs.

Simon Tatham via All-commits all-commits at lists.llvm.org
Wed Jul 21 02:46:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21401a72629cc591bab7ec6816f03e6c550f3fb3
      https://github.com/llvm/llvm-project/commit/21401a72629cc591bab7ec6816f03e6c550f3fb3
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M clang/include/clang/AST/DeclarationName.h
    M clang/include/clang/Basic/SourceLocation.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Lex/Token.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/include/clang/Serialization/ASTWriter.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
    M clang/lib/AST/NestedNameSpecifier.cpp
    M clang/lib/Basic/SourceLocation.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Lex/PPCaching.cpp
    M clang/lib/Lex/TokenLexer.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [clang] Introduce SourceLocation::[U]IntTy typedefs.

This is part of a patch series working towards the ability to make
SourceLocation into a 64-bit type to handle larger translation units.

NFC: this patch introduces typedefs for the integer type used by
SourceLocation and makes all the boring changes to use the typedefs
everywhere, but for the moment, they are unconditionally defined to
uint32_t.

Patch originally by Mikhail Maltsev.

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D105492




More information about the All-commits mailing list