Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a2cbff02 authored by Milian Wolff's avatar Milian Wolff

Return early when clang_codeCompleteAt failed.

This hopefully work-arounds the crash later on in clang_getLocation.
See also: https://llvm.org/bugs/show_bug.cgi?id=24275
parent a4d3f12f
......@@ -519,6 +519,7 @@ ClangCodeCompletionContext::ClangCodeCompletionContext(const DUContextPointer& c
if (!m_results) {
qCWarning(KDEV_CLANG) << "Something went wrong during 'clang_codeCompleteAt' for file" << file;
return;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment