[all-commits] [llvm/llvm-project] 2bd849: Improve type printing of const arrays to normalize...

David Blaikie via All-commits all-commits at lists.llvm.org
Mon Sep 13 19:24:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bd84938470bf2e337801faafb8a67710f46429d
      https://github.com/llvm/llvm-project/commit/2bd84938470bf2e337801faafb8a67710f46429d
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M clang/lib/AST/TypePrinter.cpp
    M clang/test/ARCMT/cxx-checking.mm
    M clang/test/AST/ast-dump-APValue-arithmetic.cpp
    M clang/test/AST/ast-dump-APValue-array.cpp
    M clang/test/CXX/basic/basic.types/p10.cpp
    M clang/test/Sema/assign.c
    M clang/test/Sema/typedef-retain.c
    M clang/test/SemaCXX/reinterpret-cast.cpp
    M clang/test/SemaCXX/static-assert-cxx17.cpp

  Log Message:
  -----------
  Improve type printing of const arrays to normalize array-of-const and const-array

Since these map to the same effective type - render them the same/in the
more legible way (const x[n]).




More information about the All-commits mailing list