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

--- Comment #1 from Daniel Stöckel <daniel+...@somweyr.de> ---
Created attachment 99380
  --> https://bugs.kde.org/attachment.cgi?id=99380&action=edit
Skip CMake functions without arguments.

The problem seems to be that the startVisiting method of DeclarationBuilder
assumes that there is always an argument to a CMake function. This seems to be
wrong in some instances. The attached patch fixes the crash for me, but I am
not sure whether it is the right thing to do here.

--- Comment #2 from Daniel Stöckel <daniel+...@somweyr.de> ---
Created attachment 99381
  --> https://bugs.kde.org/attachment.cgi?id=99381&action=edit
Skip CMake functions without arguments.

The problem seems to be that the startVisiting method of DeclarationBuilder
assumes that there is always an argument to a CMake function. This seems to be
wrong in some instances. The attached patch fixes the crash for me, but I am
not sure whether it is the right thing to do here.

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

Reply via email to