From 6da38a05f6d904bd4c2bf51d43938e28e00402ab Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 6 Aug 2008 15:18:10 +0000 Subject: [PATCH] Clarify "node" vs. "value" in some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54409 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 8b15065bfbb..cb8e9a4560c 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1101,17 +1101,17 @@ public: return ~NodeType; } - /// use_empty - Return true if there are no uses of this value. + /// use_empty - Return true if there are no uses of this node. /// bool use_empty() const { return Uses == NULL; } - /// hasOneUse - Return true if there is exactly one use of this value. + /// hasOneUse - Return true if there is exactly one use of this node. /// bool hasOneUse() const { return !use_empty() && next(use_begin()) == use_end(); } - /// use_size - Return the number of uses of this value. This method takes + /// use_size - Return the number of uses of this node. This method takes /// time proportional to the number of uses. /// size_t use_size() const { return std::distance(use_begin(), use_end()); } -- 2.34.1