diff --git a/llvm/include/llvm/Metadata.h b/llvm/include/llvm/Metadata.h index b5901ce7ed62..ef9646e9774a 100644 --- a/llvm/include/llvm/Metadata.h +++ b/llvm/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 { friend class SymbolTableListTraits; friend struct ilist_traits;