From efe38bdea21953f89c1504cfd1c63bee5f15b1b6 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 23 Jan 2009 22:28:29 +0000 Subject: [PATCH] Fix a small regression in warning about template type parameter redeclarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62886 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 86992b5dd5..8d203cc2c2 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -259,7 +259,6 @@ public: assert(0 && "Unknown decl kind!"); case OverloadedFunction: case Typedef: - case TemplateTypeParm: case EnumConstant: case Var: case CXXClassVar: @@ -285,6 +284,7 @@ public: case Record: case CXXRecord: case Enum: + case TemplateTypeParm: return IDNS_Tag; case Namespace: -- 2.40.0