[all-commits] [llvm/llvm-project] 6b89fa: [clang][ExtractAPI] Add support for blocks in decl...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Tue Nov 28 04:55:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b89fab8978f2b075cecc98b3d37769b24019034
      https://github.com/llvm/llvm-project/commit/6b89fab8978f2b075cecc98b3d37769b24019034
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M clang/include/clang/ExtractAPI/DeclarationFragments.h
    M clang/lib/ExtractAPI/DeclarationFragments.cpp
    A clang/test/ExtractAPI/objc_block.m
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_id_protocol.m
    M clang/test/ExtractAPI/objc_interface.m
    M clang/test/ExtractAPI/objc_property.m

  Log Message:
  -----------
  [clang][ExtractAPI] Add support for blocks in declaration fragments (#73369)

Ensure that block types get represented correctly in declaration
fragments, as block parameter names are important for documentation
clients we need a separate system from getFragmentsForType in order to
have access to full ParmVarDecls for the parameters.

rdar://118257401




More information about the All-commits mailing list