[clang] Redesign handling of anyAppleOS availability attribute (PR #190817)
Allan Shortlidge via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 09:55:55 PDT 2026
================
@@ -988,20 +993,16 @@ void DiagnoseUnguardedAvailability::DiagnoseDeclAvailability(
const char *ExtraIndentation = " ";
std::string FixItString;
llvm::raw_string_ostream FixItOS(FixItString);
- // If the attr was derived from anyAppleOS, emit the fix-it using
- // anyAppleOS and the original anyAppleOS version rather than the
- // platform-specific name and version.
- VersionTuple OrigAnyAppleOSVersion = AA->getOrigAnyAppleOSVersion();
----------------
tshortli wrote:
The `getOrigAnyAppleOSVersion()` declaration and its backing storage should be removed now, right?
https://github.com/llvm/llvm-project/pull/190817
More information about the cfe-commits
mailing list