aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DSSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSSupport.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSSupport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h
index b3c3ed0296..ae1e815ba7 100644
--- a/include/llvm/Analysis/DataStructure/DSSupport.h
+++ b/include/llvm/Analysis/DataStructure/DSSupport.h
@@ -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, 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 {
DSNode *N;
unsigned Offset;