<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/120111>120111</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Python LLDB API does not expose a way to get type CV-information
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
droptopx
</td>
</tr>
</table>
<pre>
The python API for LLDB does not seem to provide a way to get const-volatile information for `SBType`'s. This might also be an issue for the C++ API, I didn't check. Something like `SBType.is_const` and `SBType.is_volatile` could be added, or even `SBType.GetQualifiers()` and then the qualifiers would be flags in an enum so any subset of them could be checked through one API call.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckstupDoQhp_GbEqNwNy6FyzSifooUhY5SjTbkcEF9sS4GLvopN9-BLl0ZlZIlOu_qD4Vox09Yiuqo6juErWwodDqQDPT_JZ0pC_ts0GYL2zIw83jPQwU4OHh7giaMIInhog4ARPMgc5WIyh4VZf1x4gMPfnIuzM5xdYhWD9QmBRb8puSqLOn4_NlRlFnQjYxhWdjI0x2NAzKRYIOQXmwMS64bbBBuBXyKORxzSPkLdyDttoL2TD0BvuXFJ5oQjbWj-DsC15dUht_bolEnYHy-u_JZ8p12NPi9GauNerVhQLgGf23lf-Q_1-Us4PFEIXcC3n41GWDfov6--sBvH5KDk6NEaxfi6FfJogEyl8gLl1EBhrWzekaYSuFq2igZTRAHrdT9Mq5NNFtoQ_FQSXY5k1RFnWzL6vEtIdiaOTQVbncF82-zIehyw5ZVZRlnQ1Zc0hsKzNZ5jKv87rKyirFAbuqzHVRdoOWHYoyw0lZlzp3nlIKY7Kdoc1llud54lSHLm7sSOnx9f1IQsoVpdCuS7tuGaMoM2cjx6sMW3bYPr5DtcG01vkCCt9miv9wxJcZ4fbH7htAyRJca5jnKIobIU9CnkbLZunSniYhT6vdx2c3B_qFPQt52kJGIU8fLc6t_BMAAP__UxH_Ww">