Fixed comment on top of DSNode.h, added note to DSSupport.h as to why

functions were split out from DSNode class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman
2002-11-02 21:18:53 +00:00
parent f01729ea56
commit 0d05e6d942
4 changed files with 12 additions and 4 deletions

View File

@ -1,6 +1,6 @@
//===- DSSupport.h - Support for datastructure graphs -----------*- C++ -*-===// //===- DSNode.h - Node definition for datastructure graphs ------*- C++ -*-===//
// //
// Support for graph nodes, call sites, and types. // Data structure graph nodes and some implementation of DSNodeHandle.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -28,6 +28,10 @@ class DSNodeIterator; // Data structure graph traversal iterator
/// graph from getting out of date. This class represents a "pointer" in the /// graph from getting out of date. This class represents a "pointer" in the
/// graph, whose destination is an indexed offset into a node. /// graph, whose destination is an indexed offset into a node.
/// ///
/// Note: some functions that are marked as inline in DSNodeHandle are actually
/// defined in DSNode.h because they need knowledge of DSNode operation. Putting
/// them in a CPP file wouldn't help making them inlined and keeping DSNode and
/// DSNodeHandle (and friends) in one file complicates things.
class DSNodeHandle { class DSNodeHandle {
DSNode *N; DSNode *N;
unsigned Offset; unsigned Offset;

View File

@ -1,6 +1,6 @@
//===- DSSupport.h - Support for datastructure graphs -----------*- C++ -*-===// //===- DSNode.h - Node definition for datastructure graphs ------*- C++ -*-===//
// //
// Support for graph nodes, call sites, and types. // Data structure graph nodes and some implementation of DSNodeHandle.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//

View File

@ -28,6 +28,10 @@ class DSNodeIterator; // Data structure graph traversal iterator
/// graph from getting out of date. This class represents a "pointer" in the /// graph from getting out of date. This class represents a "pointer" in the
/// graph, whose destination is an indexed offset into a node. /// graph, whose destination is an indexed offset into a node.
/// ///
/// Note: some functions that are marked as inline in DSNodeHandle are actually
/// defined in DSNode.h because they need knowledge of DSNode operation. Putting
/// them in a CPP file wouldn't help making them inlined and keeping DSNode and
/// DSNodeHandle (and friends) in one file complicates things.
class DSNodeHandle { class DSNodeHandle {
DSNode *N; DSNode *N;
unsigned Offset; unsigned Offset;