mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-13 21:26:06 +00:00
*** empty log message ***
llvm-svn: 2755
This commit is contained in:
parent
e7779b56a0
commit
2db70cea7c
@ -18,7 +18,7 @@ AnalysisID LoopInfo::ID(AnalysisID::create<LoopInfo>(), true);
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Loop implementation
|
||||
//
|
||||
bool Loop::contains(BasicBlock *BB) const {
|
||||
bool Loop::contains(const BasicBlock *BB) const {
|
||||
return find(Blocks.begin(), Blocks.end(), BB) != Blocks.end();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user