projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r255115 until we figure out how to fix the bot failures.
[oota-llvm.git]
/
include
/
llvm
/
Analysis
/
LazyCallGraph.h
diff --git
a/include/llvm/Analysis/LazyCallGraph.h
b/include/llvm/Analysis/LazyCallGraph.h
index b0b9068de34bf7a2d90f39053ecc94fcd8ed22a3..270a32621be75cbf25b9117903267361f8f14a15 100644
(file)
--- a/
include/llvm/Analysis/LazyCallGraph.h
+++ b/
include/llvm/Analysis/LazyCallGraph.h
@@
-190,7
+190,7
@@
public:
Function &getFunction() const {
return F;
Function &getFunction() const {
return F;
- }
;
+ }
iterator begin() const {
return iterator(*G, Callees.begin(), Callees.end());
iterator begin() const {
return iterator(*G, Callees.begin(), Callees.end());
@@
-235,7
+235,7
@@
public:
parent_iterator parent_end() const { return ParentSCCs.end(); }
iterator_range<parent_iterator> parents() const {
parent_iterator parent_end() const { return ParentSCCs.end(); }
iterator_range<parent_iterator> parents() const {
- return
iterator_range<parent_iterator>
(parent_begin(), parent_end());
+ return
make_range
(parent_begin(), parent_end());
}
/// \brief Test if this SCC is a parent of \a C.
}
/// \brief Test if this SCC is a parent of \a C.
@@
-410,8
+410,7
@@
public:
}
iterator_range<postorder_scc_iterator> postorder_sccs() {
}
iterator_range<postorder_scc_iterator> postorder_sccs() {
- return iterator_range<postorder_scc_iterator>(postorder_scc_begin(),
- postorder_scc_end());
+ return make_range(postorder_scc_begin(), postorder_scc_end());
}
/// \brief Lookup a function in the graph which has already been scanned and
}
/// \brief Lookup a function in the graph which has already been scanned and