From b7b50bc29bf832e0bba25b2963afeed61d7d9e2a Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Fri, 13 Jul 2007 00:48:55 +0000 Subject: [PATCH] Workaround gcc 3.4.x bug git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39792 91177308-0d34-0410-b5e6-96231b3b80d8 --- AST/Type.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) -- 2.40.0