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

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor...@gmail.com

--- Comment #2 from Igor Kushnir <igor...@gmail.com> ---
Judging by the common "getBitWidthValue" line in the backtraces, this and Bug
438249 are both duplicates of Bug  431811. In the oldest of these bugs the
following workaround is proposed:
> If I change
>     decl->setBitWidth(clang_getFieldDeclBitWidth(cursor));
> to
>     decl->setBitWidth(-1);
> , KDevelop will finish the parsing without issue. 
Could you try if that works for you?

What LLVM versions did you use to build and run KDevelop?
In that same Bug  431811 I proposed this:
> If other users experience this crash with LLVM version < 11, then KDevelop 
> should probably disable the new feature by calling decl->setBitWidth(-1) when 
> it is compiled against an older LLVM version.

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

Reply via email to