aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorVladimir Prus <ghost@cs.msu.su>2006-05-31 16:03:20 +0000
committerVladimir Prus <ghost@cs.msu.su>2006-05-31 16:03:20 +0000
commite2e83c99947eef71d0c2d2877a2a3f58f54a58d9 (patch)
treec52b39c1e569e5c9beb1ae78756c9f3c1102d7e2 /include/llvm
parentef27d899fd6518b7e8da1eec9f76d7beb631b3d8 (diff)
downloadexternal_llvm-e2e83c99947eef71d0c2d2877a2a3f58f54a58d9.zip
external_llvm-e2e83c99947eef71d0c2d2877a2a3f58f54a58d9.tar.gz
external_llvm-e2e83c99947eef71d0c2d2877a2a3f58f54a58d9.tar.bz2
Clarify type naming.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Type.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 3daafa6..c79aed6 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -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