]> granicus.if.org Git - clang/commitdiff
fix a name shadowing problem in tblgen.
authorChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 20:54:55 +0000 (20:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Apr 2009 20:54:55 +0000 (20:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69218 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Diagnostic.td

index 74ca005e77866cdfae1ad1b2aa2bb5f2e861cc1b..fdb8c06b99fd9b1b7d411e48aa3d302bcd99dd97 100644 (file)
@@ -28,7 +28,7 @@ def CLASS_ERROR     : DiagClass;
 
 // Diagnostic Groups.
 class DiagGroup<string Name> { string GroupName = Name; }
-class InGroup<DiagGroup Group> { DiagGroup Group = Group; }
+class InGroup<DiagGroup G> { DiagGroup Group = G; }
 class IsGroup<string Name> { DiagGroup Group = DiagGroup<Name>; }
 
 def ImplicitFunctionDeclare : DiagGroup<"implicit-function-declaration">;