[all-commits] [llvm/llvm-project] e01aa7: [clang] AST: remove source locations from Dependen...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Apr 12 18:16:01 PDT 2025


  Branch: refs/heads/users/mizvekov/remove-array-type-sourcelocs
  Home:   https://github.com/llvm/llvm-project
  Commit: e01aa7b78e6b1971e2fedbcad788630a3a92e7c0
      https://github.com/llvm/llvm-project/commit/e01aa7b78e6b1971e2fedbcad788630a3a92e7c0
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/AST/ast-dump-array.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] AST: remove source locations from DependentSizedArrayType

Source locations should be handled at the TypeLoc level,
and these locations are already wired up to the base ArrayLoc.

There was nothing important wired to these, so just remove.


  Commit: a18763628e82ad3934315d9b5cb3fb9bbc98563d
      https://github.com/llvm/llvm-project/commit/a18763628e82ad3934315d9b5cb3fb9bbc98563d
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-12 (Sat, 12 Apr 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/SemaType.cpp

  Log Message:
  -----------
  [clang] AST: remove source locations from VariableSizedArrayType

Source locations should be handled at the TypeLoc level,
and these locations are already wired up to the base ArrayLoc.

There was nothing important wired to these, so just remove.


Compare: https://github.com/llvm/llvm-project/compare/9f19701c6da9...a18763628e82

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