[clang] [Clang][Sema] Diagnose function/variable templates that shadow their own template parameters (PR #78274)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 09:24:39 PST 2024


================
@@ -6070,7 +6070,7 @@ static TypeSourceInfo *GetFullTypeForDeclarator(TypeProcessingState &state,
 ///
 /// The result of this call will never be null, but the associated
 /// type may be a null type if there's an unrecoverable error.
-TypeSourceInfo *Sema::GetTypeForDeclarator(Declarator &D, Scope *S) {
+TypeSourceInfo *Sema::GetTypeForDeclarator(Declarator &D) {
----------------
erichkeane wrote:

that would very much make this easier to review and would be preferential.

https://github.com/llvm/llvm-project/pull/78274


More information about the cfe-commits mailing list