[llvm-commits] [llvm] r54409 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Dan Gohman
gohman at apple.com
Wed Aug 6 08:18:33 PDT 2008
Author: djg
Date: Wed Aug 6 10:18:10 2008
New Revision: 54409
URL: http://llvm.org/viewvc/llvm-project?rev=54409&view=rev
Log:
Clarify "node" vs. "value" in some comments.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=54409&r1=54408&r2=54409&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Wed Aug 6 10:18:10 2008
@@ -1101,17 +1101,17 @@
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()); }
More information about the llvm-commits
mailing list