================
@@ -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();
----------------
ahatanak wrote:
Oh, that function is generated by TableGen. It's removed when
`origAnyAppleOSVersion` is removed from the definition of attribute
`Availability` in `Attr.td`.
https://github.com/llvm/llvm-project/pull/190817
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits