diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-07-13 00:48:55 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-07-13 00:48:55 +0000 |
commit | b7b50bc29bf832e0bba25b2963afeed61d7d9e2a (patch) | |
tree | 367100fe5f57841d5934777ccc787ea224f3c8d5 | |
parent | c63b96ad706e054a1390dd2ab53af9f05d33bbb1 (diff) |
Workaround gcc 3.4.x bug
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39792 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | AST/Type.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AST/Type.cpp b/AST/Type.cpp index ded7af4d62..1a20c1184d 100644 --- a/AST/Type.cpp +++ b/AST/Type.cpp @@ -473,7 +473,8 @@ void QualType::getAsStringInternal(std::string &S) const { } // Print qualifiers as appropriate. - if (unsigned TQ = getQualifiers()) { + unsigned TQ = getQualifiers(); + if (TQ) { std::string TQS; AppendTypeQualList(TQS, TQ); if (!S.empty()) |