https://bugs.kde.org/show_bug.cgi?id=385768

--- Comment #3 from Craig Tenenbaum <zarathustra.zoroas...@gmail.com> ---
I can reproduce on KDevelop master and a Clang-6 checkout only a few hours old,
the files that trigger it seem to be the "Managed" C++ files under
'digikam/utilities/mediaserver/upnpsdk/Platinum/Source/Extras/Managed/', and
while I'm not entirely sure why Clang is trying to parse anything in there as a
structured binding, it doesn't surprise me that fake, MS C++ masquerading as
real C++ should cause issues. It accidentally confirms that the nullptr deref
in Clang is a real bug in the parser, however, so I'll start trying to figure
it out.

WORKAROUND: for the moment, so long as you don't have a burning desire or need
to edit these files in KDevelop, you can add the entire directory to the
project's exclude filters. While one could edit KDevelop's project file with a
text editor and then launch KDevelop afterward, I was lazy and so temporarily
disabled KDevelop's background parsing, added the directory to the filter from
inside KDevelop, and then re-enabled background parsing. That ended the
segfaulting for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to