<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - MS Style inline ASM assertion failure and crash while parsing local field name"
href="https://llvm.org/bugs/show_bug.cgi?id=19117">bug 19117</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - MS Style inline ASM assertion failure and crash while parsing local field name"
href="https://llvm.org/bugs/show_bug.cgi?id=19117#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - MS Style inline ASM assertion failure and crash while parsing local field name"
href="https://llvm.org/bugs/show_bug.cgi?id=19117">bug 19117</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=19117#c4">comment #4</a>)
<span class="quote">> + ExprResult Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc,
> Id, Info,
> + IsUnevaluatedContext);
> + Result = ParsePostfixExpressionSuffix(Result);
> + if (!Result.isInvalid())
> + {
> + Info.Size =
> Actions.getASTContext().getTypeSize(Result.get()->getType()) / 8;
> + Info.Type = Info.Size;
> + }</span >
I think this is more or less the right way to go. I added something like it in
r246088.</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>