diff options
author | Younan Zhang <zyn7109@gmail.com> | 2025-10-05 14:20:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-05 06:20:09 +0000 |
commit | 505956eeb0943461f9f0c10f0cca0da185fa142d (patch) | |
tree | 9f2f507326866fff877775cbc7b2ea5e644e3b94 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | a7414796c0854a9e6f649d922a58aa63147ae2e4 (diff) | |
download | llvm-505956eeb0943461f9f0c10f0cca0da185fa142d.zip llvm-505956eeb0943461f9f0c10f0cca0da185fa142d.tar.gz llvm-505956eeb0943461f9f0c10f0cca0da185fa142d.tar.bz2 |
[Clang] Use the templated declaration for DiagnoseUseOfDecl (#161900)
We missed the check of diagnose_if attributes for the constructor
templates, because we used the template declaration, rather than its
templated one.
Also, we can avoid the duplicate constraint checking because it's
already performed in overload resolution.
There are some diagnostic regressions, all of which are warnings for
uses of lambdas in C++03 mode, which I believe we should still diagnose.
Fixes https://github.com/llvm/llvm-project/issues/160776
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions