[all-commits] [llvm/llvm-project] c1d8d0: Reapply "[Clang][Sema] Diagnose function/variable ...
Krystian Stasiowski via All-commits
all-commits at lists.llvm.org
Mon Mar 4 06:18:34 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1d8d0aa156f651ee48414fa002e9608d6998763
https://github.com/llvm/llvm-project/commit/c1d8d0aa156f651ee48414fa002e9608d6998763
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-03-04 (Mon, 04 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Scope.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/CXX/temp/temp.res/temp.local/p6.cpp
Log Message:
-----------
Reapply "[Clang][Sema] Diagnose function/variable templates that shadow their own template parameters (#78274)" (#79683)
Reapplies #78274 with the addition of a default-error warning
(`strict-primary-template-shadow`) that is issued for instances of
shadowing which were previously accepted prior to this patch.
I couldn't find an established convention for naming diagnostics related
to compatibility with previous versions of clang, so I just used the
prefix `ext_compat_`.
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