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

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


  Branch: refs/heads/users/mizvekov/remove-array-type-sourcelocs
  Home:   https://github.com/llvm/llvm-project
  Commit: d5e49ed3dcbcb90a7402a963cb789eca89f37083
      https://github.com/llvm/llvm-project/commit/d5e49ed3dcbcb90a7402a963cb789eca89f37083
  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: 9f19701c6da9af4877e6c8e5e850d6adade07eff
      https://github.com/llvm/llvm-project/commit/9f19701c6da9af4877e6c8e5e850d6adade07eff
  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/d5e49ed3dcbc%5E...9f19701c6da9

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