[all-commits] [llvm/llvm-project] 96c8e2: [APINotes] For a re-exported module, look for APIN...
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Thu Mar 28 06:00:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3
https://github.com/llvm/llvm-project/commit/96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M clang/lib/APINotes/APINotesManager.cpp
A clang/test/APINotes/Inputs/Headers/ExportAs.apinotes
A clang/test/APINotes/Inputs/Headers/ExportAs.h
A clang/test/APINotes/Inputs/Headers/ExportAsCore.h
M clang/test/APINotes/Inputs/Headers/module.modulemap
A clang/test/APINotes/export-as.c
Log Message:
-----------
[APINotes] For a re-exported module, look for APINotes in the re-exporting module's apinotes file
This upstreams https://github.com/apple/llvm-project/pull/8063.
If module FooCore is re-exported through module Foo (by using
`export_as` in the modulemap), look for attributes of FooCore symbols in
Foo.apinotes file.
Swift bundles `std.apinotes` file that adds Swift-specific attributes to
the C++ stdlib symbols. In recent versions of libc++, module std got
split into multiple top-level modules, each of them is re-exported
through std. This change allows us to keep using a single modulemap file
for all supported C++ stdlibs.
rdar://121680760
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list