[cfe-commits] r69218 - /cfe/trunk/include/clang/Basic/Diagnostic.td

Chris Lattner sabre at nondot.org
Wed Apr 15 13:54:56 PDT 2009


Author: lattner
Date: Wed Apr 15 15:54:55 2009
New Revision: 69218

URL: http://llvm.org/viewvc/llvm-project?rev=69218&view=rev
Log:
fix a name shadowing problem in tblgen.

Modified:
    cfe/trunk/include/clang/Basic/Diagnostic.td

Modified: cfe/trunk/include/clang/Basic/Diagnostic.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.td?rev=69218&r1=69217&r2=69218&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.td (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.td Wed Apr 15 15:54:55 2009
@@ -28,7 +28,7 @@
 
 // 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">;





More information about the cfe-commits mailing list