aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp
diff options
context:
space:
mode:
authorMatheus Izvekov <mizvekov@gmail.com>2025-03-04 12:15:09 -0300
committerGitHub <noreply@github.com>2025-03-04 12:15:09 -0300
commit4c4fd6b03149348cf11af245ad2603d24144a9d5 (patch)
tree186a6d731ebe5876adb3400d2a0b4a59b88aa593 /llvm/lib/CodeGen/RemoveRedundantDebugValues.cpp
parent1d8eb436ca694a9e215066e0b2dbd18b2d3943ea (diff)
downloadllvm-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