<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - LLVMDumpType() #ifdefed"
href="https://bugs.llvm.org/show_bug.cgi?id=34633">34633</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVMDumpType() #ifdefed
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Core LLVM classes
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ken.domino@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>In LLVM-C, there is a definition for LLVMDumpType(), and it's documented.
LLVMDumpType() is defined in .../lib/ir/Core.cpp and
.../llvm/include/llvm-c/Core.h. LLVMDumpType() as well as LLVMDumpValue() were
#ifdef'ed on Jan 27 2917 by MatzeB. The #ifdef for LLVMDumpValue() was undone
Jan 30 2017 by sam-mccall, but LLVMDumpType() was not. Can someone please clean
this up? Remove the #ifdef's for LLVMDumpType() and make it consistent with
LLVMDumpValue(). If it's not supposed to be in the API, remove this and
LLVMDumpValue() completely. The API shouldn't be promising something in a
header file and not deliver something in the binary at least something, even if
a stub.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>