]> granicus.if.org Git - clang/commitdiff
Suppress build warning.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:20:42 +0000 (01:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:20:42 +0000 (01:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84453 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/TypeLoc.cpp

index 7e6b110bf5ed9bf67979b5448f4f6fa74f7be4af..50a512028e96249e8353f2b066b7eaaac6082090 100644 (file)
@@ -92,5 +92,5 @@ namespace {
 void TypeLoc::initializeImpl(TypeLoc TL, SourceLocation Loc) {
   do {
     TypeLocInitializer(Loc).Visit(TL);
-  } while (TL = TL.getNextTypeLoc());
+  } while ((TL = TL.getNextTypeLoc()));
 }