[clang] [HLSL] Strict Availability Diagnostics (PR #93860)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 17:53:33 PDT 2024
================
@@ -210,13 +222,16 @@ static bool ShouldDiagnoseAvailabilityInContext(
return true;
}
-static bool
-shouldDiagnoseAvailabilityByDefault(const ASTContext &Context,
- const VersionTuple &DeploymentVersion,
- const VersionTuple &DeclVersion) {
+static unsigned getAvailabilityDiagnosticKind(
----------------
hekota wrote:
I am not sure if it is the best, but that's what `SemaBase::Diag` method takes :)
https://github.com/llvm/llvm-project/pull/93860
More information about the cfe-commits
mailing list