[cfe-commits] r39792 - /cfe/trunk/AST/Type.cpp
Anton Korobeynikov
asl at math.spbu.ru
Thu Jul 12 17:48:56 PDT 2007
Author: asl
Date: Thu Jul 12 19:48:55 2007
New Revision: 39792
URL: http://llvm.org/viewvc/llvm-project?rev=39792&view=rev
Log:
Workaround gcc 3.4.x bug
Modified:
cfe/trunk/AST/Type.cpp
Modified: cfe/trunk/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Type.cpp?rev=39792&r1=39791&r2=39792&view=diff
==============================================================================
--- cfe/trunk/AST/Type.cpp (original)
+++ cfe/trunk/AST/Type.cpp Thu Jul 12 19:48:55 2007
@@ -473,7 +473,8 @@
}
// Print qualifiers as appropriate.
- if (unsigned TQ = getQualifiers()) {
+ unsigned TQ = getQualifiers();
+ if (TQ) {
std::string TQS;
AppendTypeQualList(TQS, TQ);
if (!S.empty())
More information about the cfe-commits
mailing list