aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-20 18:22:57 +0000
committerDan Gohman <gohman@apple.com>2010-08-20 18:22:57 +0000
commit94287e6f479dc9cd2d3bdce173459146ef7ec6b5 (patch)
tree365abf42bba7492c31765adb236ec9a40dbc574c /include
parentcf61f7b430a10d1f48096670c513a95b2bf4011d (diff)
downloadexternal_llvm-94287e6f479dc9cd2d3bdce173459146ef7ec6b5.zip
external_llvm-94287e6f479dc9cd2d3bdce173459146ef7ec6b5.tar.gz
external_llvm-94287e6f479dc9cd2d3bdce173459146ef7ec6b5.tar.bz2
Reword NamedMDNode's comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Metadata.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h
index b5901ce..ef9646e 100644
--- a/include/llvm/Metadata.h
+++ b/include/llvm/Metadata.h
@@ -175,8 +175,9 @@ private:
};
//===----------------------------------------------------------------------===//
-/// NamedMDNode - a tuple of MDNodes.
-/// NamedMDNode is always named. All NamedMDNode operand has a type of metadata.
+/// NamedMDNode - a tuple of MDNodes. Despite its name, a NamedMDNode isn't
+/// itself an MDNode. NamedMDNodes belong to modules, have names, and contain
+/// lists of MDNodes.
class NamedMDNode : public ilist_node<NamedMDNode> {
friend class SymbolTableListTraits<NamedMDNode, Module>;
friend struct ilist_traits<NamedMDNode>;