AST: Split Availability.h into multiple headers.

Put AvailabilityRange into its own header with very few dependencies so that it
can be included freely in other headers that need to use it as a complete type.

NFC.
This commit is contained in:
Allan Shortlidge
2025-01-03 17:59:58 -08:00
parent 4c109ee9b1
commit d0f63a0753
47 changed files with 194 additions and 145 deletions

View File

@@ -15,7 +15,7 @@
//===----------------------------------------------------------------------===//
#include "swift/AST/ASTContext.h"
#include "swift/AST/Availability.h"
#include "swift/AST/AvailabilityRange.h"
#include "swift/AST/DiagnosticsIRGen.h"
#include "swift/AST/GenericSignature.h"
#include "swift/AST/IRGenOptions.h"