Created attachment 107319 [details] file which causes crash KDevelop crashes on opening the attached file. It appears to be a clang parsing bug.
Created attachment 107320 [details] backtrace for all threads the crash occurred in thread 9
Adding excerpt of backtrace of thread 9 for better SEO: Thread 9 (Thread 0x7f93dc9ed700 (LWP 23966)): #0 0x00007f93d5619b8a in clang::cxcursor::MakeCXCursor(clang::Stmt const*, clang::Decl const*, CXTranslationUnitImpl*, clang::SourceRange) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #1 0x00007f93d5608f62 in clang::cxcursor::CursorVisitor::VisitStaticAssertDecl(clang::StaticAssertDecl*) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #2 0x00007f93d5601973 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #3 0x00007f93d5601e2d in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #4 0x00007f93d5608c6c in clang::cxcursor::CursorVisitor::RunVisitorWorkList(llvm::SmallVector<clang::cxcursor::VisitorJob, 10u>&) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #5 0x00007f93d560168b in clang::cxcursor::CursorVisitor::Visit(clang::Stmt const*) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #6 0x00007f93d5601897 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #7 0x00007f93d560a2e1 in clang_visitChildren () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #8 0x00007f93dea11e97 in (anonymous namespace)::Visitor::buildCompoundStatement(CXCursor) () from /tmp/.mount_n62Bow/usr/lib/libKDevClangPrivate.so.27 #9 0x00007f93dea141e6 in (anonymous namespace)::visitCursor(CXCursor, CXCursor, void*) () from /tmp/.mount_n62Bow/usr/lib/libKDevClangPrivate.so.27 #10 0x00007f93d5601dfd in clang::cxcursor::CursorVisitor::Visit(CXCursor, bool) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #11 0x00007f93d56092ce in clang::cxcursor::CursorVisitor::VisitFunctionDecl(clang::FunctionDecl*) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #12 0x00007f93d5601973 in clang::cxcursor::CursorVisitor::VisitChildren(CXCursor) () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #13 0x00007f93d560a2e1 in clang_visitChildren () from /tmp/.mount_n62Bow/usr/lib/libclang.so.3.9 #14 0x00007f93dea2ef77 in CXChildVisitResult (anonymous namespace)::Visitor::buildDeclaration<(CXCursorKind)30, KDevelop::FunctionDefinition, true>(CXCursor) () from /tmp/.mount_n62Bow/usr/lib/libKDevClangPrivate.so.27
The problem is the `static_assert(...)` in that file. A duplicate of bug 372215. *** This bug has been marked as a duplicate of bug 372215 ***