Crash with code-completion

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 :slight_smile:


code_completion_crash.cpp (403 Bytes)

Ouch. Please file a bug at

  - Doug