[llvm-commits] [poolalloc] r128571 -	/poolalloc/trunk/lib/AssistDS/TestGEP.cpp
    John Criswell 
    criswell at uiuc.edu
       
    Wed Mar 30 13:35:54 PDT 2011
    
    
  
Author: criswell
Date: Wed Mar 30 15:35:54 2011
New Revision: 128571
URL: http://llvm.org/viewvc/llvm-project?rev=128571&view=rev
Log:
Fixed compilation warning.
Modified:
    poolalloc/trunk/lib/AssistDS/TestGEP.cpp
Modified: poolalloc/trunk/lib/AssistDS/TestGEP.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/AssistDS/TestGEP.cpp?rev=128571&r1=128570&r2=128571&view=diff
==============================================================================
--- poolalloc/trunk/lib/AssistDS/TestGEP.cpp (original)
+++ poolalloc/trunk/lib/AssistDS/TestGEP.cpp Wed Mar 30 15:35:54 2011
@@ -120,7 +120,7 @@
               NI = NewF->arg_begin();
               SmallVector<Value*, 8> Ops(CI->op_begin()+1, CI->op_end());
               Instruction *InsertPoint;
-              for (BasicBlock::iterator insrt = NewF->front().begin(); isa<AllocaInst>(InsertPoint = insrt); ++insrt);
+              for (BasicBlock::iterator insrt = NewF->front().begin(); isa<AllocaInst>(InsertPoint = insrt); ++insrt) {;}
                          
               SmallVector<Value*, 8> Indices;
               Indices.append(GEP->op_begin()+1, GEP->op_end());
    
    
More information about the llvm-commits
mailing list