From: Gabor Greif Date: Thu, 21 Feb 2008 17:40:55 +0000 (+0000) Subject: Change variable name to Tq (from TQ) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3513e138cc75205b48d3078dfa4669355adb5714;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47438 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/AST/Type.cpp b/AST/Type.cpp index f5f7f3d82c..80b2d5cb93 100644 --- a/AST/Type.cpp +++ b/AST/Type.cpp @@ -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