[all-commits] [llvm/llvm-project] 949177: [clang][ExtractAPI] Fix up casting from CXXClassRe...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Wed Oct 16 01:46:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 949177dabc86c99667cb490119e028ce0e7dc628
      https://github.com/llvm/llvm-project/commit/949177dabc86c99667cb490119e028ce0e7dc628
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M clang/include/clang/ExtractAPI/API.h
    M clang/test/ExtractAPI/anonymous_record_no_typedef.c
    M clang/test/ExtractAPI/typedef_anonymous_record.c

  Log Message:
  -----------
  [clang][ExtractAPI] Fix up casting from CXXClassRecord (#110983)

`RecordRecord::classOfKind` and `TagRecord::classofKind` didn't
correctly capture `RK_CXXClass` and derived variants, e.g.
`RK_ClassTemplate`. This materialized by anonymous C++ tag types not
being correctly detected when they need to be merged with another
record.



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