diff options
author | Hans Wennborg <hans@chromium.org> | 2025-03-10 13:46:17 +0100 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2025-03-10 14:02:04 +0100 |
commit | 28fa1fcf55b973e13018ac115fcbb357b4c0baad (patch) | |
tree | 103a7e4a5a60b46b0f6b3557f26f35cb721dd771 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 848ba3854c3ae7518fd9e436a11ffd0308f121df (diff) | |
download | llvm-28fa1fcf55b973e13018ac115fcbb357b4c0baad.zip llvm-28fa1fcf55b973e13018ac115fcbb357b4c0baad.tar.gz llvm-28fa1fcf55b973e13018ac115fcbb357b4c0baad.tar.bz2 |
Revert "[clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access (#129681)"
This caused incorrect -Wunguarded-availability warnings. See comment on
the pull request.
> We were missing a call to DiagnoseUseOfDecl when performing typename
> access.
>
> This refactors the code so that TypeDecl lookups funnel through a helper
> which performs all the necessary checks, removing some related
> duplication on the way.
>
> Fixes #58547
>
> Differential Revision: https://reviews.llvm.org/D136533
This reverts commit 4c4fd6b03149348cf11af245ad2603d24144a9d5.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions