aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEgor Zhdan <e_zhdan@apple.com>2024-03-28 12:59:57 +0000
committerGitHub <noreply@github.com>2024-03-28 12:59:57 +0000
commit96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3 (patch)
treea31f057c699b1c8a0c8e8846e4289b2bd21aff33 /clang/lib/CodeGen/CodeGenModule.cpp
parenta2982a29fdfcfe2904754815c85f630a4dc6d88c (diff)
downloadllvm-96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3.zip
llvm-96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3.tar.gz
llvm-96c8e2e88cc68416ddce4a9bf1a9221387b6d4b3.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions