<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - segfault under clang::Sema::CorrectDelayedTyposInExpr"
href="http://llvm.org/bugs/show_bug.cgi?id=22341">bug 22341</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;">CC</td>
<td>
</td>
<td>nlewycky@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - segfault under clang::Sema::CorrectDelayedTyposInExpr"
href="http://llvm.org/bugs/show_bug.cgi?id=22341#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - segfault under clang::Sema::CorrectDelayedTyposInExpr"
href="http://llvm.org/bugs/show_bug.cgi?id=22341">bug 22341</a>
from <span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span></b>
<pre>This doesn't repro with r227165:
In file included from ../../net/cert/trust_store_builtin.cc:29:
/tmp/certdata.cc:6:1: error: expected '}'
{"Distrust a pb.com certificate that does not comply with the baseline
requirements.", 84,
^
/tmp/certdata.cc:1:39: note: to match this '{'
static const TrustData trust_data[] = {
^
/tmp/certdata.cc:1407:37: error: expected ';' after top level declarator
static const int num_cert_data = 195
^
;
../../net/cert/trust_store_builtin.cc:39:23: error: use of undeclared
identifier 'num_trust_data'
for (int i = 0; i < num_trust_data; ++i) {
^
../../net/cert/trust_store_builtin.cc:52:23: error: use of undeclared
identifier 'num_cert_data'
for (int i = 0; i < num_cert_data; ++i) {
^
../../net/cert/trust_store_builtin.cc:55:21: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].title, cert_data[i].title_len);
^
../../net/cert/trust_store_builtin.cc:55:41: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].title, cert_data[i].title_len);
^
../../net/cert/trust_store_builtin.cc:57:21: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].subject, cert_data[i].subject_len);
^
../../net/cert/trust_store_builtin.cc:57:43: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].subject, cert_data[i].subject_len);
^
../../net/cert/trust_store_builtin.cc:59:21: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].certificate, cert_data[i].certificate_len);
^
../../net/cert/trust_store_builtin.cc:59:47: error: use of undeclared
identifier 'cert_data'
std::string(cert_data[i].certificate, cert_data[i].certificate_len);
^
../../net/cert/trust_store_builtin.cc:60:47: error: use of undeclared
identifier 'certificate_len'
anchors_[subject_hash] = {title, subject, certificate_len};
^
../../net/cert/trust_store_builtin.cc:60:14: error: use of undeclared
identifier 'subject_hash'
anchors_[subject_hash] = {title, subject, certificate_len};
^
12 errors generated.
I note that this is r223108. We had a number of typo correction bugs fixed in
the r224XXX series. This is almost certainly one of those, but if you really
want to check you can run a build with "-Xclang -ast-dump" on this file and
check the output for "TypoExpr". These shouldn't show up, they indicate that we
failed to deal with the typo before sending the AST to codegen.</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>