[clang] Fix missing diagnostic of declaration use when accessing TypeDecls through...
authorMatheus Izvekov <mizvekov@gmail.com>
Sat, 22 Oct 2022 13:51:54 +0000 (15:51 +0200)
committerMatheus Izvekov <mizvekov@gmail.com>
Tue, 25 Oct 2022 00:46:35 +0000 (02:46 +0200)
commitdc170433137aeda5e5276bd292cac12aa93fee7c
treebd776c667b850302a9e98065b4c74445c5a9d206
parentd39486ddd5b4159ee237a0f896c38ebfad482e97
[clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access

Fixes GH58547.

Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Differential Revision: https://reviews.llvm.org/D136533
clang/docs/ReleaseNotes.rst
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/p1.cpp
libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.depr_in_cxx17.verify.cpp