[all-commits] [llvm/llvm-project] 74e5a3: [clang] Remove "unknown" from availability diags (...
Cyndy Ishida via All-commits
all-commits at lists.llvm.org
Thu May 8 21:19:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 74e5a3b61e87c8c2b830286796b72dda67942b6b
https://github.com/llvm/llvm-project/commit/74e5a3b61e87c8c2b830286796b72dda67942b6b
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2025-05-08 (Thu, 08 May 2025)
Changed paths:
M clang/lib/AST/DeclBase.cpp
A clang/test/Driver/attr-availability-erroneous-diags.c
Log Message:
-----------
[clang] Remove "unknown" from availability diags (#138610)
Previously, diagnostics like `error: 'fNew' is unavailable: introduced
in macOS 11 unknown` were getting emitted when the active target triple
didn't have an environment tied to it. Instead, add a guard against this
to avoid the `unknown`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list