[cfe-commits] r84453 - /cfe/trunk/lib/AST/TypeLoc.cpp

Daniel Dunbar daniel at zuster.org
Sun Oct 18 18:20:43 PDT 2009


Author: ddunbar
Date: Sun Oct 18 20:20:42 2009
New Revision: 84453

URL: http://llvm.org/viewvc/llvm-project?rev=84453&view=rev
Log:
Suppress build warning.

Modified:
    cfe/trunk/lib/AST/TypeLoc.cpp

Modified: cfe/trunk/lib/AST/TypeLoc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypeLoc.cpp?rev=84453&r1=84452&r2=84453&view=diff

==============================================================================
--- cfe/trunk/lib/AST/TypeLoc.cpp (original)
+++ cfe/trunk/lib/AST/TypeLoc.cpp Sun Oct 18 20:20:42 2009
@@ -92,5 +92,5 @@
 void TypeLoc::initializeImpl(TypeLoc TL, SourceLocation Loc) {
   do {
     TypeLocInitializer(Loc).Visit(TL);
-  } while (TL = TL.getNextTypeLoc());
+  } while ((TL = TL.getNextTypeLoc()));
 }





More information about the cfe-commits mailing list