Unverified Commit c1d8d0aa authored by Krystian Stasiowski's avatar Krystian Stasiowski Committed by GitHub
Browse files

Reapply "[Clang][Sema] Diagnose function/variable templates that shadow their...

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_`.
parent 1e429ff1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment