[cfe-commits] r47438 - /cfe/trunk/AST/Type.cpp

Gabor Greif ggreif at gmail.com
Thu Feb 21 09:40:55 PST 2008


Author: ggreif
Date: Thu Feb 21 11:40:55 2008
New Revision: 47438

URL: http://llvm.org/viewvc/llvm-project?rev=47438&view=rev
Log:
Change variable name to Tq (from TQ)
because silly gcc 3.4.6 barfs on this
construct.
Type.h defines an "enum TQ", which makes
the parser to err.

Modified:
    cfe/trunk/AST/Type.cpp

Modified: cfe/trunk/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Type.cpp?rev=47438&r1=47437&r2=47438&view=diff

==============================================================================
--- cfe/trunk/AST/Type.cpp (original)
+++ cfe/trunk/AST/Type.cpp Thu Feb 21 11:40:55 2008
@@ -760,9 +760,9 @@
   }
   
   // Print qualifiers as appropriate.
-  if (unsigned TQ = getCVRQualifiers()) {
+  if (unsigned Tq = getCVRQualifiers()) {
     std::string TQS;
-    AppendTypeQualList(TQS, TQ);
+    AppendTypeQualList(TQS, Tq);
     if (!S.empty())
       S = TQS + ' ' + S;
     else





More information about the cfe-commits mailing list