diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-03-04 12:15:09 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-04 12:15:09 -0300 |
commit | 4c4fd6b03149348cf11af245ad2603d24144a9d5 (patch) | |
tree | 186a6d731ebe5876adb3400d2a0b4a59b88aa593 /llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp | |
parent | 1d8eb436ca694a9e215066e0b2dbd18b2d3943ea (diff) | |
download | llvm-4c4fd6b03149348cf11af245ad2603d24144a9d5.zip llvm-4c4fd6b03149348cf11af245ad2603d24144a9d5.tar.gz llvm-4c4fd6b03149348cf11af245ad2603d24144a9d5.tar.bz2 |
[clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access (#129681)
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
Diffstat (limited to 'llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions