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

--- Comment #6 from Igor Kushnir <igor...@gmail.com> ---
(In reply to Sven Brauch from comment #5)
> The code in question is so trivial that it's very unlikely to be related to
> that code. This snippet occurs in pretty much every C++ file in every
> project.
The snippet should not occur in every C++ file. Not only does it use raw
delete, which is discouraged in modern C++. It also redundantly checks for null
as deleting nullptr is a no-op.

That said, I agree that the snippet in itself is unlikely to cause a crash in
any released libclang or KDevelop version.

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

Reply via email to