aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/Interval.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 16:19:42 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 16:19:42 +0000
commit8fc2f2072de83665ae20e06929e28317f449bcdf (patch)
tree978d1527ce64987f813c97686195af5ab29e12ff /include/llvm/Analysis/Interval.h
parent876509614b608f1af885d978c7d2a1e34f807e33 (diff)
Remove all contents of the cfg namespace to the global namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Interval.h')
-rw-r--r--include/llvm/Analysis/Interval.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/llvm/Analysis/Interval.h b/include/llvm/Analysis/Interval.h
index 5fdb71dc38..b297441eca 100644
--- a/include/llvm/Analysis/Interval.h
+++ b/include/llvm/Analysis/Interval.h
@@ -1,6 +1,6 @@
//===- llvm/Analysis/Interval.h - Interval Class Declaration -----*- C++ -*--=//
//
-// This file contains the declaration of the cfg::Interval class, which
+// This file contains the declaration of the Interval class, which
// represents a set of CFG nodes and is a portion of an interval partition.
//
// Intervals have some interesting and useful properties, including the
@@ -17,8 +17,6 @@
class BasicBlock;
-namespace cfg {
-
//===----------------------------------------------------------------------===//
//
// Interval Class - An Interval is a set of nodes defined such that every node
@@ -89,27 +87,24 @@ public:
bool isLoop() const;
};
-} // End namespace cfg
-
// succ_begin/succ_end - define methods so that Intervals may be used
// just like BasicBlocks can with the succ_* functions, and *::succ_iterator.
//
-inline cfg::Interval::succ_iterator succ_begin(cfg::Interval *I) {
+inline Interval::succ_iterator succ_begin(Interval *I) {
return I->Successors.begin();
}
-inline cfg::Interval::succ_iterator succ_end(cfg::Interval *I) {
+inline Interval::succ_iterator succ_end(Interval *I) {
return I->Successors.end();
}
// pred_begin/pred_end - define methods so that Intervals may be used
// just like BasicBlocks can with the pred_* functions, and *::pred_iterator.
//
-inline cfg::Interval::pred_iterator pred_begin(cfg::Interval *I) {
+inline Interval::pred_iterator pred_begin(Interval *I) {
return I->Predecessors.begin();
}
-inline cfg::Interval::pred_iterator pred_end(cfg::Interval *I) {
+inline Interval::pred_iterator pred_end(Interval *I) {
return I->Predecessors.end();
}
-
#endif