[clang] [clang] Move `AvailabilityInfo` into AST library (PR #81897)
Juergen Ributzka via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 15:39:20 PST 2024
================
@@ -57,6 +58,57 @@ class AvailabilitySpec {
bool isOtherPlatformSpec() const { return Version.empty(); }
};
+class Decl;
+
+/// Storage of availability attributes for a declaration.
+struct AvailabilityInfo {
+ /// The domain is the platform for which this availability info applies to.
+ llvm::SmallString<32> Domain;
----------------
ributzka wrote:
Are 32 chars required?
https://github.com/llvm/llvm-project/pull/81897
More information about the cfe-commits
mailing list