Clarify type naming.
authorVladimir Prus <ghost@cs.msu.su>
Wed, 31 May 2006 16:03:20 +0000 (16:03 +0000)
committerVladimir Prus <ghost@cs.msu.su>
Wed, 31 May 2006 16:03:20 +0000 (16:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28587 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Type.h

index 3daafa6cac4317d2b95553cb91d9ee712fe1a9f9..c79aed676d69f0607ef10417c8625b899249e07e 100644 (file)
@@ -42,6 +42,11 @@ class TypeMapBase;
 /// 
 /// Once allocated, Types are never free'd, unless they are an abstract type
 /// that is resolved to a more concrete type.
+/// 
+/// Types themself don't have a name, and can be named either by:
+/// - using SymbolTable instance, typically from some Module,
+/// - using convenience methods in the Module class (which uses module's 
+///    SymbolTable too).
 ///
 /// Opaque types are simple derived types with no state.  There may be many
 /// different Opaque type objects floating around, but two are only considered