forked from OSchip/llvm-project
				
			
							parent
							
								
									e7779b56a0
								
							
						
					
					
						commit
						2db70cea7c
					
				| 
						 | 
					@ -18,7 +18,7 @@ AnalysisID LoopInfo::ID(AnalysisID::create<LoopInfo>(), true);
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
// Loop implementation
 | 
					// Loop implementation
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
bool Loop::contains(BasicBlock *BB) const {
 | 
					bool Loop::contains(const BasicBlock *BB) const {
 | 
				
			||||||
  return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end();
 | 
					  return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue