[llvm-commits] CVS: llvm/include/llvm/Type.h

Vladimir Prus ghost at cs.msu.su
Wed May 31 09:03:33 PDT 2006



Changes in directory llvm/include/llvm:

Type.h updated: 1.86 -> 1.87
---
Log message:

Clarify type naming.


---
Diffs of the changes:  (+5 -0)

 Type.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.86 llvm/include/llvm/Type.h:1.87
--- llvm/include/llvm/Type.h:1.86	Tue May 30 10:49:30 2006
+++ llvm/include/llvm/Type.h	Wed May 31 11:03:20 2006
@@ -42,6 +42,11 @@
 /// 
 /// 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






More information about the llvm-commits mailing list