[all-commits] [llvm/llvm-project] 6ef978: [clang][ExtractAPI] combine typedef records if the...

QuietMisdreavus via All-commits all-commits at lists.llvm.org
Fri Feb 7 12:23:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ef978b8c41a83378af3de1dceeea434715f80f4
      https://github.com/llvm/llvm-project/commit/6ef978b8c41a83378af3de1dceeea434715f80f4
  Author: QuietMisdreavus <QuietMisdreavus at users.noreply.github.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    A clang/test/ExtractAPI/typedef_underscore.c

  Log Message:
  -----------
  [clang][ExtractAPI] combine typedef records if the underlying type's name is underscored (#125964)

fixes rdar://137214218

When 'typedef struct' decls are encountered, the records are combined if
the underlying type is either anonymous or has the same name as the
typedef. Extend this behavior to also combine records when the
underlying type has an underscored name that is equivalent to the
typedef name when the leading underscores are removed.



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