[all-commits] [llvm/llvm-project] 3d4128: [clang][ExtractAPI] Record availability informatio...

Sofía Rodríguez via All-commits all-commits at lists.llvm.org
Fri Jan 19 02:57:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d4128f7ff1cd44b95e5057295704f86c0f0b162
      https://github.com/llvm/llvm-project/commit/3d4128f7ff1cd44b95e5057295704f86c0f0b162
  Author: Sofía Rodríguez <sofilin2000 at icloud.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M clang/include/clang/ExtractAPI/API.h
    M clang/include/clang/ExtractAPI/AvailabilityInfo.h
    M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
    M clang/lib/ExtractAPI/API.cpp
    M clang/lib/ExtractAPI/AvailabilityInfo.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    M clang/test/ExtractAPI/availability.c
    M clang/tools/libclang/CXExtractAPI.cpp

  Log Message:
  -----------
  [clang][ExtractAPI] Record availability information only for the target platform (#76823)

Currently, ExtractAPI provides availability information for all
platforms within a given domain. With this change, we narrow down the
output to include availability details only for the specified target
platform, so users can generate the symbol graph with only the
availability information they need, omitting information of the other
platforms.

This change reverts the functionality introduced in
[`57c9780`](https://github.com/llvm/llvm-project/commit/57c9780).

rdar://120419037




More information about the All-commits mailing list