[PATCH] D136533: [clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 15:41:47 PDT 2022


mizvekov added a comment.

In D136533#3886666 <https://reviews.llvm.org/D136533#3886666>, @glandium wrote:

> It's the opposite of deprecated, it's (optionally) using something that is only available in newer versions of macos.

Right, I mis-typed, but this is probably using the 'availability' attribute, which works on the same mechanism as 'deprecated', except that it gives an error.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136533/new/

https://reviews.llvm.org/D136533



More information about the cfe-commits mailing list