[all-commits] [llvm/llvm-project] 50542d: Modify TypePrinter to differentiate between anonym...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Mon Feb 22 14:17:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50542d504dd869fe1241a9cc987b72ead5a56073
      https://github.com/llvm/llvm-project/commit/50542d504dd869fe1241a9cc987b72ead5a56073
  Author: Shafik Yaghmour <syaghmour at apple.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/test/AST/ast-dump-decl-json.c
    M clang/test/AST/ast-dump-enum-json.cpp
    M clang/test/AST/ast-dump-openmp-cancel.c
    M clang/test/AST/ast-dump-openmp-cancellation-point.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-distribute.c
    M clang/test/AST/ast-dump-openmp-for-simd.c
    M clang/test/AST/ast-dump-openmp-for.c
    M clang/test/AST/ast-dump-openmp-ordered.c
    M clang/test/AST/ast-dump-openmp-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-parallel-for.c
    M clang/test/AST/ast-dump-openmp-parallel-sections.c
    M clang/test/AST/ast-dump-openmp-parallel.c
    M clang/test/AST/ast-dump-openmp-section.c
    M clang/test/AST/ast-dump-openmp-sections.c
    M clang/test/AST/ast-dump-openmp-simd.c
    M clang/test/AST/ast-dump-openmp-single.c
    M clang/test/AST/ast-dump-openmp-target-data.c
    M clang/test/AST/ast-dump-openmp-target-enter-data.c
    M clang/test/AST/ast-dump-openmp-target-exit-data.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-parallel.c
    M clang/test/AST/ast-dump-openmp-target-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-target-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-target-teams.c
    M clang/test/AST/ast-dump-openmp-target-update.c
    M clang/test/AST/ast-dump-openmp-target.c
    M clang/test/AST/ast-dump-openmp-task.c
    M clang/test/AST/ast-dump-openmp-taskgroup.c
    M clang/test/AST/ast-dump-openmp-taskloop-simd.c
    M clang/test/AST/ast-dump-openmp-taskloop.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
    M clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
    M clang/test/AST/ast-dump-openmp-teams-distribute.c
    M clang/test/AST/ast-dump-openmp-teams.c
    M clang/test/AST/ast-dump-records-json.cpp
    M clang/test/AST/ast-dump-records.c
    M clang/test/AST/ast-dump-records.cpp
    M clang/test/AST/ast-dump-stmt-json.m
    M clang/test/ASTMerge/struct/test.c
    M clang/test/Analysis/cfg.cpp
    M clang/test/Analysis/padding_c.c
    M clang/test/Index/print-type.c
    M clang/test/Index/print-type.cpp
    M clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
    M clang/test/PCH/stmt-openmp_structured_block-bit.cpp
    M clang/test/Sema/assign.c
    M clang/test/Sema/switch.c
    M clang/test/SemaCXX/condition.cpp
    M clang/test/SemaCXX/enum.cpp
    M clang/test/SemaCXX/warn-sign-conversion.cpp
    M lldb/test/Shell/SymbolFile/DWARF/clang-ast-from-dwarf-unamed-and-anon-structs.cpp
    M lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test

  Log Message:
  -----------
  Modify TypePrinter to differentiate between anonymous struct and unnamed struct

Currently TypePrinter lumps anonymous classes and unnamed classes in one group "anonymous" this is not correct and can be confusing in some contexts.

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




More information about the All-commits mailing list