[all-commits] [llvm/llvm-project] b6da16: [clang][ExtractAPI] Ignore fully anonymous RecordD...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Thu Oct 13 03:54:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6da16ffb9d5a47c16fa377097809c6592132d34
      https://github.com/llvm/llvm-project/commit/b6da16ffb9d5a47c16fa377097809c6592132d34
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    A clang/test/ExtractAPI/anonymous_record_no_typedef.c

  Log Message:
  -----------
  [clang][ExtractAPI] Ignore fully anonymous RecordDecls

ExtractAPI was emitting a separate symbol for anonymous record declaration
that define the type of a member of another record declaration. Now
ExtractAPI ignores these declarations and just records the existence of
the actual member.

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




More information about the All-commits mailing list