[cfe-commits] Modules producing invalid redecl chain?
Rafael EspĂndola
rafael.espindola at gmail.com
Mon May 21 05:29:25 PDT 2012
While working on a patch I started getting assertion failures for
invalid redecls in some of the Modules test, but I have reduce it to
just adding a call to FD->hasBody() (trivial patch attached) and
running
./bin/llvm-lit -v ~/llvm/clang/test/Modules/diamond.c
which crashes with
Redeclarable.h:140: clang::Redeclarable::redecl_iterator
&clang::Redeclarable<clang::FunctionDecl>::redecl_iterator::operator++()
[decl_type = clang::FunctionDecl]: Assertion `0 && "Passed first decl
twice, invalid redecl chain!"' failed.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120521/3ef766a8/attachment.obj>
More information about the cfe-commits
mailing list