llvm-c: Add LLVMDumpType
[oota-llvm.git] / include / llvm-c / Core.h
index caadab1bac2c24c643522fdf182e8331a3ff9226..d39128db1a6d0322627d4ae123702dafcf69a8a9 100644 (file)
@@ -699,6 +699,13 @@ LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty);
  */
 LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty);
 
+/**
+ * Dump a representation of a type to stderr.
+ *
+ * @see llvm::Type::dump()
+ */
+void LLVMDumpType(LLVMTypeRef Val);
+
 /**
  * @defgroup LLVMCCoreTypeInt Integer Types
  *