Lines Matching full:availability
1 //===--- SemaAvailability.cpp - Availability attribute handling -----------===//
9 // This file processes the availability attribute.
88 /// the availability attribute that is selected.
133 // For +new, infer availability from -init.
172 // strict (-fhlsl-strict-availability), or if the target is library and the
173 // availability is restricted to a specific environment/shader stage.
174 // For libraries the availability will be checked later in
185 // Checks if we should emit the availability diagnostic in the context of C.
216 // An implementation implicitly has the availability of the interface.
228 // A category implicitly has the availability of the interface.
244 // For iOS, emit the diagnostic even if -Wunguarded-availability is
261 // (-fhlsl-strict-availability) and as warnings in relaxed diagnostic
262 // mode (-Wno-error=hlsl-availability)
267 // New Apple targets should always warn about availability.
318 /// \param Name The string to parse. Expected to originate from availability
378 /// Actually emit an availability diagnostic for a reference to an unavailable
384 /// availability attribute corresponding to \c K attached to it. Note that this
421 // The declaration can have multiple availability attributes, we are looking
439 // We would like to emit the diagnostic even if -Wunguarded-availability is
443 assert(AA != nullptr && "expecting valid availability attribute");
488 // Don't offer a fixit for declarations with availability attributes.
576 llvm_unreachable("Warning for availability of available declaration?");
659 assert(DD.Kind == DelayedDiagnostic::Availability &&
660 "Expected an availability diagnostic here");
757 /// This class implements -Wunguarded-availability.
851 assert(AA != nullptr && "expecting valid availability attribute");
999 // This isn't an availability checking 'if', we can just continue.
1037 // availability violations. This ensures we always correctly analyze nested