[all-commits] [llvm/llvm-project] 228d52: [clang] print correct context for diagnostics supp...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Wed Feb 19 03:05:22 PST 2025
Branch: refs/heads/users/mizvekov/clang-print-context-stack-diags-supressed-by-deduction
Home: https://github.com/llvm/llvm-project
Commit: 228d525709e5ba2fd9c8f929dc90db1ccbc915bb
https://github.com/llvm/llvm-project/commit/228d525709e5ba2fd9c8f929dc90db1ccbc915bb
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-02-19 (Wed, 19 Feb 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/CXX/drs/cwg4xx.cpp
M clang/test/CXX/temp/temp.arg/temp.arg.type/p2.cpp
M clang/test/SemaCXX/anonymous-struct.cpp
M clang/test/SemaCXX/bool-increment-SFINAE.cpp
M clang/test/SemaCXX/cxx98-compat-flags.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/deprecated.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
M clang/test/SemaCXX/undefined-internal.cpp
M clang/test/SemaTemplate/recovery-crash.cpp
M clang/test/SemaTemplate/temp_arg_nontype.cpp
Log Message:
-----------
[clang] print correct context for diagnostics suppressed by deduction
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list