projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84369b3
)
Allow const bb's to be checked for containment in a loop
author
Chris Lattner
<sabre@nondot.org>
Mon, 3 Jun 2002 22:10:48 +0000
(22:10 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 3 Jun 2002 22:10:48 +0000
(22:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2754
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/LoopInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/LoopInfo.h
b/include/llvm/Analysis/LoopInfo.h
index bb9058c256e4a3434c29d641067eb6f6e2a6fa08..16605e5a527030afd6c9e136dc29d3e56d57d595 100644
(file)
--- a/
include/llvm/Analysis/LoopInfo.h
+++ b/
include/llvm/Analysis/LoopInfo.h
@@
-34,7
+34,7
@@
public:
inline BasicBlock *getHeader() const { return Blocks.front(); }
// contains - Return true of the specified basic block is in this loop
- bool contains(BasicBlock *BB) const;
+ bool contains(
const
BasicBlock *BB) const;
// getSubLoops - Return the loops contained entirely within this loop
inline const std::vector<Loop*> &getSubLoops() const { return SubLoops; }