diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2025-02-20 08:50:03 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 08:50:03 -0300 |
commit | 0948fc85aa99a8fd193d2d66a517e31b8b639f20 (patch) | |
tree | 5177a4c7348fd6f0fd5fc81b67fccf883752d709 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | d7784a649e80d346ba57ccc39f5e2a3e2f7e0a51 (diff) | |
download | llvm-0948fc85aa99a8fd193d2d66a517e31b8b639f20.zip llvm-0948fc85aa99a8fd193d2d66a517e31b8b639f20.tar.gz llvm-0948fc85aa99a8fd193d2d66a517e31b8b639f20.tar.bz2 |
[clang] print correct context for diagnostics suppressed by deduction (#125453)
This patch makes it so the correct instantiation context is printed for
diagnostics suppessed by template argument deduction.
The context is saved along with the suppressed diagnostic, and when the
declaration they were attached to becomes used, we print the correct
context, instead of whatever context was at this point.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions