[all-commits] [llvm/llvm-project] 236b6a: [clang][extract-api] Emit "functionSignature" in S...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Mon Apr 11 11:07:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 236b6a0eb41a163510e65664e2160f599287326b
      https://github.com/llvm/llvm-project/commit/236b6a0eb41a163510e65664e2160f599287326b
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M clang/include/clang/ExtractAPI/API.h
    M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
    M clang/lib/ExtractAPI/API.cpp
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_interface.m

  Log Message:
  -----------
  [clang][extract-api] Emit "functionSignature" in SGF for ObjC methods.

- Split GlobalRecord into two distinct types to be able to introduce
has_function_signature type trait.
- Add has_function_signature type trait.
- Serialize function signatures as part of serializeAPIRecord for
records that are known to have a function signature.

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




More information about the All-commits mailing list