diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-02-21 17:40:55 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-02-21 17:40:55 +0000 |
commit | 3513e138cc75205b48d3078dfa4669355adb5714 (patch) | |
tree | 68984118e0dfda430c3d1d1291b87f6c0d2cf7ae /AST/Type.cpp | |
parent | 266586765e8b4099e6eb15cf4e70569f23f62ac0 (diff) |
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
Diffstat (limited to 'AST/Type.cpp')
-rw-r--r-- | AST/Type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |