aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-15 22:00:31 +0000
committerChris Lattner <sabre@nondot.org>2009-07-15 22:00:31 +0000
commit0df5c8e3f1061cd23f8abde64840828f713d4597 (patch)
treece56f62e6754f950cf8047a79451f6f787f18726 /include/llvm/Type.h
parent23702eacab9d7fa21f250113d02e413a7ac50fda (diff)
downloadexternal_llvm-0df5c8e3f1061cd23f8abde64840828f713d4597.zip
external_llvm-0df5c8e3f1061cd23f8abde64840828f713d4597.tar.gz
external_llvm-0df5c8e3f1061cd23f8abde64840828f713d4597.tar.bz2
Update the C bindings to keep the LLVMTypeKind up to date between the C/C++
stuff. Patch by Zoltan Varga! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 38c4e30..c311dbe 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -66,6 +66,7 @@ public:
/// value, you can cast to a "DerivedType" subclass (see DerivedTypes.h)
/// Note: If you add an element to this, you need to add an element to the
/// Type::getPrimitiveType function, or else things will break!
+ /// Also update LLVMTypeKind and LLVMGetTypeKind () in the C binding.
///
enum TypeID {
// PrimitiveTypes .. make sure LastPrimitiveTyID stays up to date