[clang] [clang][ExtractAPI] Compute inherited availability information (PR #103040)

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 16:26:59 PDT 2024


================
@@ -16,33 +16,101 @@
 #include "clang/AST/Decl.h"
 #include "clang/Basic/TargetInfo.h"
 
-namespace clang {
+namespace {
+
+struct AvailabilitySet {
+  llvm::SmallVector<clang::AvailabilityInfo> Availabilities;
----------------
cyndyishida wrote:

Can you mark this private, its not clear otherwise that one should be going through `insert`

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


More information about the cfe-commits mailing list