[LLVMbugs] [Bug 22341] segfault under clang::Sema::CorrectDelayedTyposInExpr
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 26 21:42:55 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22341
Nick Lewycky <nlewycky at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nlewycky at google.com
Resolution|--- |WORKSFORME
--- Comment #3 from Nick Lewycky <nlewycky at google.com> ---
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150127/a9810afb/attachment.html>
More information about the llvm-bugs
mailing list