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
t.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
