[cfe-dev] Crash with code-completion

Matthias Kleine matthias_kleine at gmx.de
Mon Oct 10 10:12:26 PDT 2011


On clang-revision 14520, code completion can be crashed by running the attached test. The problem seems to be caused by Sema::IsSimplyAccessible trying to build an AccessTarget for a NamedDecl that is not a CXXRecordDecl. I'm not familiar with the code, though, so I leave the debugging to you :)

Cheers,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code_completion_crash.cpp
Type: application/octet-stream
Size: 403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111010/886dcdf3/attachment.obj>


More information about the cfe-dev mailing list