//===- Availability.cpp --------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements the Availability information for Decls. // //===----------------------------------------------------------------------===// #include "clang/AST/Availability.h" #include "clang/AST/ASTContext.h" #include "clang/AST/Attr.h" #include "clang/AST/Decl.h" #include "clang/Basic/TargetInfo.h" namespace { /// Represents the availability of a symbol across platforms. struct AvailabilitySet { … }; static void createInfoForDecl(const clang::Decl *Decl, AvailabilitySet &Availabilities) { … } } // namespace namespace clang { void AvailabilityInfo::mergeWith(AvailabilityInfo Other) { … } AvailabilityInfo AvailabilityInfo::createFromDecl(const Decl *D) { … } } // namespace clang