[all-commits] [llvm/llvm-project] 671709: [clang][ExtractAPI] Add targetFallback to relation...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Mon Nov 7 05:12:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 671709f0e7d49826fd0908be2c9aed07debf5bc9
      https://github.com/llvm/llvm-project/commit/671709f0e7d49826fd0908be2c9aed07debf5bc9
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/test/ExtractAPI/anonymous_record_no_typedef.c
    M clang/test/ExtractAPI/enum.c
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_interface.m
    M clang/test/ExtractAPI/objc_property.m
    M clang/test/ExtractAPI/objc_protocol.m
    M clang/test/ExtractAPI/struct.c
    M clang/test/ExtractAPI/underscored.c

  Log Message:
  -----------
  [clang][ExtractAPI] Add targetFallback to relationships in symbol graph

Adds a 'targetFallback' field to relationships in symbol graph that
contains the plain name of the relationship target. This is useful for
clients when the relationship target symbol is not available.

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


  Commit: f63db9159bbbb0db98e13cb4440fdaa5c40e219b
      https://github.com/llvm/llvm-project/commit/f63db9159bbbb0db98e13cb4440fdaa5c40e219b
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M clang/include/clang/ExtractAPI/API.h
    M clang/lib/ExtractAPI/API.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/test/ExtractAPI/anonymous_record_no_typedef.c
    M clang/test/ExtractAPI/enum.c
    M clang/test/ExtractAPI/objc_category.m
    M clang/test/ExtractAPI/objc_interface.m
    M clang/test/ExtractAPI/objc_property.m
    M clang/test/ExtractAPI/objc_protocol.m
    M clang/test/ExtractAPI/struct.c
    M clang/test/ExtractAPI/underscored.c

  Log Message:
  -----------
  Only add targetFallback if target is not in defined in current product


Compare: https://github.com/llvm/llvm-project/compare/8f6895218382...f63db9159bbb


More information about the All-commits mailing list