[clang] [APINotes] Upstream the remaining API Notes fixes and tests (PR #84773)

Egor Zhdan via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 08:45:00 PDT 2024


================
@@ -0,0 +1,44 @@
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: %clang_cc1 -fmodules  -fimplicit-module-maps -fmodules-cache-path=%t/ModulesCache -fapinotes-modules -Wno-private-module -fsyntax-only -I %S/Inputs/Headers -F %S/Inputs/Frameworks %s -verify
+
+// Test with Swift version 3.0. This should only affect the few APIs that have an entry in the 3.0 tables.
----------------
egorzhdan wrote:

Yes, in a sense that API Notes that apply attributes specific to Swift version 3.0 still exist in the SDK, and can be read by the compiler.

https://github.com/llvm/llvm-project/pull/84773


More information about the cfe-commits mailing list