]> granicus.if.org Git - clang/commitdiff
Change variable name to Tq (from TQ)
authorGabor Greif <ggreif@gmail.com>
Thu, 21 Feb 2008 17:40:55 +0000 (17:40 +0000)
committerGabor Greif <ggreif@gmail.com>
Thu, 21 Feb 2008 17:40:55 +0000 (17:40 +0000)
because silly gcc 3.4.6 barfs on this
construct.
Type.h defines an "enum TQ", which makes
the parser to err.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47438 91177308-0d34-0410-b5e6-96231b3b80d8

AST/Type.cpp

index f5f7f3d82c4ed4c4a6cae197dcc7624eca3e4f99..80b2d5cb93d111244888929d6bf7863952833c80 100644 (file)
@@ -760,9 +760,9 @@ void QualType::getAsStringInternal(std::string &S) const {
   }
   
   // 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