<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi,</div>
<div> </div>
<div>The strings returned by clang_getCursorUSR represent fixed-length arrays as pointers, so the USRs for "void Func( char[16] )" and "void "Func( char[32] )" are identical and thus ambiguous. In this case, clang_getCursorDisplayName appears to deal with fixed-size
arrays correctly.</div>
<div> </div>
<div>There seem to be other issues with fixed-length arrays in USRs, for example "template <size_t N> void mystrlwr( char (&dst)[N] )" is represented as "c:@FT@>1#Nkmystrlwr#& #" (and specializations of this template are also similarly broken).</div>
<div> </div>
<div> </div>
<div>I thought I’d post here before submitting the above as a bug, in case I’m missing something (post 2 of 4 of this kind today ;) ).</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>iestyn Bleasdale-Shepherd</div>
<div> </div>
<div> </div>
</span></font>
</body>
</html>